Do you want to know about Binary Search? Do you want a right place to learn it?
Open the link given below and get a right place
My second blog post:
2 Likes
Write about thorough tutorial hashing and indexing then you will get some real traffic.
I appreciate your Binary search tutorial
3 Likes
thanks buddy
will follow ur suggestion definitely
Your binary search function does not deal with integer overflow’s while calculating mid, a very common mistake while implementing binary search when left and right are something like 60000, 65530 (assuming int to have range of 0-65535) now notice adding them would lead to an overflow and hence would give the wrong index.
2 Likes
Thanks bro… Blog is updated now… sorry for that …
1 Like