Optimal binary search

Problem Name:
Optimal binary search
Site:HackerEarth
Links:
Tags: