Amazon Interview Question
Development Support EngineersTo psp.reachable@gmail.com,
The question is really a BS. I dont think Amazon asks such kind of fcuking questions. I tried to reach you on your gmail, to discuss this question further, but it seems you are completely _unreachable_ though your mailid says you are _reachable_. This really sucks man, please dont post such kinda of stupid questions.
with O(1) time! is this even possible??
- Java Coder October 13, 2008Do u mean something like a hashmap where u give the key and get the value? The best searching takes o(logn) time atleast as far as I know.