DATA STRUCTURE Programming and Technical Programming Technical

Which one is faster? A binary search of an orderd set of
elements in an array or a sequential search of the
elements.

Read Solution (Total 8)

DATA STRUCTURE Other Question

Parenthesis are never needed in prefix or postfix
expressions. Why?
In binary search tree , n=nodes, h=height of tree.

What's complexity?

1. o(h)

2. o(n*h)

3. o(nLogn)

4. o(n*n)

5. None