Technology Blog

the technology I am interested in and work with

Showing posts with label binary search. Show all posts
Showing posts with label binary search. Show all posts
Tuesday, April 19, 2011

Count the number of occurrences of a given key in an array

›
This was asked in on-site Microsoft interview (see original post ).  It seems the answers to this question are not correct.  This question c...
Monday, April 18, 2011

Find the first occurrence of an integer in sorted array

›
Normal binary search will return the target randomly if multiple targets are in the given array.  Below is the modified version of binary se...
›
Home
View web version
Powered by Blogger.