Amazon Interview Report
- 0of 0 votes
Give an unsorted array of integers A and and an integer I, find out if any two members of A add up to I.- Jerry February 01, 2011
A = < 3, 25, 9, 15>
I = 12 returns true
but I = 19 returns false.
Can you find the answer in O(n*log(n)) time?
Can you find the answer in O(n) time?
| Report Duplicate | Flag | PURGE
Amazon Software Engineer / Developer Coding
Open Chat in New Window