KSS
BAN USER
Questions (7)
Comments (1)
Reputation 30
- 0of 0 votes
AnswersImplement the Indexof function to find a substring from a given string.
- KSS in United States| Report Duplicate | Flag | PURGE
Amazon Software Engineer / Developer Algorithm - 0of 0 votes
AnswerConsider a task which need to be scheduled. Need to maintain the detail of the task. Task can be executed by specifying some delay time. Design a task and function void Schedule(Task, delay). The task should have the capability to execute when CreationTime + delay is reached.
- KSS in United States| Report Duplicate | Flag | PURGE
Amazon Software Engineer / Developer Application / UI Design - 0of 0 votes
AnswersGiven a 2D array, all rows and all columns sorted. Find an integer x from the 2D array.
- KSS in United States| Report Duplicate | Flag | PURGE
Amazon Software Engineer / Developer Algorithm Arrays
CareerCup is the world's biggest and best source for software engineering interview preparation. See all our resources.
I gave an approach using hash map. loop through one list and insert it into HashMap. Then loop through another list and try to retrieve from HashMap. HashMap returns a common node if one present. else return null.
- KSS May 09, 2012