I know how basic binary search works, however i always get stuck with the different variations of binary search. Can someone point me to the good material which can remove all my doubts pretaining to different variations of binary search. Example of one variation is:
There are multiple other variations as well.