Skip to content Skip to sidebar Skip to footer
Showing posts with the label Data Structures

Advantages Of Binary Search Trees Over Hash Tables

Answer : One advantage that no one else has pointed out is that binary search tree allows you to… Read more Advantages Of Binary Search Trees Over Hash Tables

2D Peak Finding Algorithm In O(n) Worst Case Time?

Answer : Let's assume that width of the array is bigger than height, otherwise we will spli… Read more 2D Peak Finding Algorithm In O(n) Worst Case Time?

AVL Tree Vs. B-tree

Answer : AVL trees are intended for in-memory use, where random access is relatively cheap. B-tr… Read more AVL Tree Vs. B-tree