Amazon Interview Report
- 1of 1 vote
AnswersGives you an int m, and a set of char (0,1,2,3,4,5,6,7,8,9)
- ajay.raj May 17, 2018 in United States
Lets you implement a function that generates a id based on the characters in the set. Each time you return a string, it must be unique. satisfying the same character can not appear consecutively more than m times, such as m = 3, "1000" is valid,
"0000" is not valid.
The smaller the string, the better.| Report Duplicate | Flag | PURGE
Amazon SDE1 - 0of 0 votes
AnswerGiven a multiple tree, and multiple nodes that need to be deleted,
- ajay.raj May 17, 2018 in United States
It is required to return a list of nodes so that the children of these nodes can be found after the nodes have been deleted.| Report Duplicate | Flag | PURGE
Amazon SDE1
CareerCup is the world's biggest and best source for software engineering interview preparation. See all our resources.