firefox
BAN USER
Questions (3)
Reputation 20
- 0of 0 votes
AnswersI was given this question recently in an interview.. There are three threads and a counter that will increase from 1 to 100. Catch is that thread 1 increments counter from 1 to 20. Thread 2 increments from 21 to 80. Thread 3 increments from 81 to 100.
- firefox in India| Report Duplicate | Flag | PURGE
Symantec Dev Lead Coding - 0of 0 votes
AnswersGiven a binary tree populate the inorder successor of each node. Do it iteratively.
- firefox in India for Kindle| Report Duplicate | Flag | PURGE
Amazon SDE1 Algorithm - 0of 0 votes
AnswersGiven an array find the next greatest element to the right of it. [4, 5, 2, 25]
- firefox in United States
Element NextGreatestElement
4 --> 5
5 --> 25
2 --> 25
25 --> -1
i gave o(n^2), but was
asked to solve in o(n)..You can take extra space...| Report Duplicate | Flag | PURGE
Amazon Software Engineer / Developer
Page:
1
Page:
1
CareerCup is the world's biggest and best source for software engineering interview preparation. See all our resources.