Amazon Interview Report
- 0of 0 votes
AnswerA coffee machine has three buttons (S, M, L). After pressing each button, the coffee machine will flow out of a range of coffee [s1, s2], [m1, m2], [l1, l2], but the outflow of coffee The amount is random. There is a cup with a total capacity of c2. There is a tick c1 on the cup. If the amount of coffee is [c1, c2], it is considered full.
- ajay.raj March 28, 2018 in United States
After asking for a series of button operations, can the coffee be filled in [c1, c2] but not overflow?| Report Duplicate | Flag | PURGE
Amazon Backend Developer - 0of 0 votes
AnswersInput like method stack trace: "main, start", "foo, start", foo, end", "bar, start", "bar end", "main, end", "main2, start", "main2, end"
Output String, such as the following format, to indicate the order in which the method was called and the hierarchy
- ajay.raj March 28, 2018 in United Statesmain Foo Bar main2
| Report Duplicate | Flag | PURGE
Amazon Backend Developer
CareerCup is the world's biggest and best source for software engineering interview preparation. See all our resources.