how to solve this problem on timus using binary search? I read the discussions about this problem but can't figure it out. how to apply binary search here and how to calculate the height. please explain in some details. problem link :
A binary search problem
how to solve this problem on timus using binary search? I read the discussions about this problem but can't figure it out. how to apply binary search here and how to calculate the height. please explain in some details. problem link :