Amazon Interview Experience for SDE-1 | 7 Months Experienced

Amazon Interview Experience for SDE-1 | 7 Months Experienced
Online Round:
Question-related to the priority queue
Simple Ad Hoc question
Round 1(Chime Interview): Taken by SDE 2 (1 hour, 15 mins)
There are N bubbles in an array. A bubble with a positive value means it’s moving towards the right and has a mass of absolute value of A[i]. Similar to a negative value, it’s moving towards the left with a mass of absolute A[i]. On the collision of any two bubbles, the bubble with lesser mass vanishes. If the mass of colliding bubble is the same, both of them vanish.Given an array, print the resultant array after all the collision happens.
Find an element in rotated sorted array.
Theoretical questions from OS, OOPS, and Computer Networks.
Why do you prefer C++, which is faster, C++ or Java?
Round 2(Chime Interview): Taken by SDE 2 (1 hour)
Given a string as an input perform Q queries of the following type:1 1 char – Insert char at the front of the string1 2 char – Insert char at the end of the string2 – Reverse the stringHad to print the final string after Q queries.
https://www.geeksforgeeks.org/find-next-greater-number-set-digits/
Discussion about my past projects
Round 3(Chime Interview): Taken by Software Manager (1 hour)
https://www.geeksforgeeks.org/print-all-combinations-of-balanced-parentheses/
https://www.geeksforgeeks.org/length-of-the-longest-substring-without-repeating-characters/
Why Amazon, Why leaving current organization in 6 months, What do you bring to the table?
Discussion about my projects.
Round 4(Chime Interview): Taken by Software Manager (45 mins)Discussion about my projects.
Leadership/Behavioral questions.
Given N queries of type :
C – Create a folder with the smallest missing positive integer starting from 1.
D X – Delete a folder having name X
Example: 
Input Output
C 1
C 2
C 3
C 4
C 5
D 2
D 4
C 2
C 4
C 6

While answering any coding question, firstly you need to tell your approach. Support your approach with some test cases so that it’ll be easy to convey.Secondly, they want to code for all questions. Make your code is free from all the bugs, and you have covered all the corner cases. Try to convey what you are writing, why particular Data Structure etc while you write your code. If time permits, dry run your code in your head first then explain it to them.If stuck, don’t be nervous, they will provide you with hints.
Verdict: Selected 🙂