Skip to main content

Binary search [Data structures]

Binary search is another technique of searching element/item/data in a list or array. In this technique it is mandatory that our given list or array should already be in a sorted manner(Ascending). Otherwise , this algorithm is failed at this situation. It follows divide and conquer approach.

Comments

Popular posts from this blog

Runnable Interfaces Before and After Java8

explicit and implicit import vs static import in java