Amazon | SDE 1 | New Grad | Round 1
Anonymous User
1306

These are the questions that I was given for my Amazon interview which happened today

About me: Final year CSE student at a Tier 3 college
Current offer: Intern at Big 4
Opportunity type: Off campus

  1. You are given s, the sum of digits, and d, the number of digits. Your task is to find out a number n that satisfies both conditions.

Example: s=9 d=4 => n=1008

  1. You are given a binary tree denoting a building, with value of each node denoting the door number and each level of the tree denoting the floor number. You are allowed to left rotate the values of each individual node any number of times. You are tasked to modify the tree with these left rotate operations such that the door number in every level is in sorted order.

I forgot the example that was given for this.

Solved both, although first question took me 40 minutes. Interviewer told me I did well but also pointed out the delay in the first question. He said he will be passing on positive feedback to the recruiter. Any idea if this means I will get an interview call for the next round?

Update: I was called for a second round. My interview experience for the same can be found here: https://leetcode.com/discuss/interview-experience/1699027/Amazon-or-SDE-1-or-New-Grad-or-Round-2

Comments (5)