abzx12
BAN USER
Questions (1)
Comments (8)
Reputation 10
- 0of 0 votes
AnswersGiven numbers 1 to 1000, suggest a data structure to store them such that following operations can be executed in constant time:
- abzx12 in India
1- insertion,
2- deletion,
3- searching,
4- get_any_number (means return any number if present in the data-structure otherwise return -1).| Report Duplicate | Flag | PURGE
Amazon Software Engineer / Developer Data Structures
Page:
1
Comment hidden because of low score. Click to expand.
Comment hidden because of low score. Click to expand.
Comment hidden because of low score. Click to expand.
Comment hidden because of low score. Click to expand.
Comment hidden because of low score. Click to expand.
Comment hidden because of low score. Click to expand.
Comment hidden because of low score. Click to expand.
Comment hidden because of low score. Click to expand.
Page:
1
CareerCup is the world's biggest and best source for software engineering interview preparation. See all our resources.
Forgot to mention with ques that numbers are unique in DS, means max of single occurrence of a number.
- abzx12 February 02, 2012