Created
October 28, 2010 16:05
-
-
Save latortuga/651685 to your computer and use it in GitHub Desktop.
An interesting interview question
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Given a set of numbers from 0 to 2^n-1, with one missing, how would you find the missing number in one pass through the set and using at most n bits of extra storage |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment