The Stack Overflow podcast is back! Listen to an interview with our new CEO.
Search type Search syntax
Tags [tag]
Exact "words here"
Author user:1234
user:me (yours)
Score score:3 (3+)
score:0 (none)
Answers answers:3 (3+)
answers:0 (none)
isaccepted:yes
hasaccepted:no
inquestion:1234
Views views:250
Sections title:apples
body:"apples oranges"
URL url:"*.example.com"
Favorites infavorites:mine
infavorites:1234
Status closed:yes
duplicate:no
migrated:no
wiki:no
Types is:question
is:answer
Exclude -[tag]
-apples
For more details on advanced search visit our help page
Results tagged with Search options answers only user 4318

This tag is for questions about search algorithms, tools, and technologies.

8
votes
your search is implemented. The caller cares about what the contract of the method is: what goes in, what comes out, and what the relationship between those two things is. Non-standard spacing … . Formals should start with a lower-cased letter. Why an array? What if we want to binary search a list? Why ints? What if we want to binary search an array of doubles? This signature is needlessly …
answered Sep 28 '16 by Eric Lippert
33
votes
The problem as stated was: There is an sorted array. You need to find all the missing numbers. Write the complete code, without using any generics or inbuilt function or binary operators. First an …
answered May 2 '14 by Eric Lippert