Bloomberg LP Interview QuestionFinancial Software Developers
- 0of 0 votes
How to search a number among a lot of numbers. I asked if it is one time thing. Answer is yes. Then I did sequential search; Then he said how about search another one....
Then I said sort these numbers first and suggest binary tree.
Wrote down the binary search code