I was Invited to attend Interview at amazon Hyderabad for the position of SDE 1 and I had the following rounds.
Round 0 coding —
- Given an array find the maximum consecutive and non consecutive sum and print them.
- Given a matrix find the number of 1’s in the maximum island MAT[i][j] = {0,1}.
Round 1 Data Structure —
- Given a tree return the number of elements for the level with the maximum elements.
PS : all null nodes between two non null nodes need to be counted and null nodes can have null children which also can be counted.
eg– [null,2,1,null,null,3,null] in this level all nodes between 2 and 3 will be counted i.e. 5 - Asked about what data structures I knew and what data structure will I use to make a cache.the answer was Hashing.
- Asked what data structure would i use for maintaining cricket scores.
the answer was priority queue.
Round 2 Algorithms —
- Given a binary tree find out if it is a BST
- Given a binary tree root and a node ,print all nodes at K distance from the node.
- Given an array it can be of 4 types
- Ascending
- Descending
- Ascending Rotated
- Descending Rotated
find out which kind of array it is and return the maximum array.
Round 3 Design —
- Asked me the word breaking problem which I couldn’t solve and this round didn’t go well.
Round 4 Managerial —
- Asked about my current company and work done over there.
- Asked me a problem to convert Integer to Roman while handling all the corner cases.
- Asked about process and Threads
- I asked about the team and kind of work to be done
I would like to thank GeeksforGeeks to provide such a huge variety of problems and a progressive way to approach any problem.
If you like GeeksforGeeks and would like to contribute, you can also write an article and mail your article to contribute@geeksforgeeks.org. See your article appearing on the GeeksforGeeks main page and help other Geeks.
Recommended Posts:
- Amazon Interview Experience | SDE-1 offcampus
- Amazon Interview Experience Offcampus for SDE-1
- Mahindra Comviva Interview Experience 2020 (Product/Software Development OffCampus)
- Amazon Interview Experience | Set 185 (For SDE1)
- Amazon interview Experience | Set 141 (For SDE1)
- Amazon Interview Experience | Set 150 (SDE1 for 1 Year Experienced)
- Amazon Interview Experience | Set 153 (For SDE1)
- Amazon Interview Experience | Set 184 (Off Campus for SDE1)
- Amazon Interview Experience | Set 186 (For SDE1)
- Amazon Interview Experience | Set 187 (For SDE1)
- Amazon Interview Experience | Set 188 (For SDE1)
- Amazon Interview Experience | Set 213 (Off-Campus for SDE1)
- Amazon Interview Experience | Set 254 (Off-Campus for SDE1)
- Amazon Interview Experience | Set 256 (Written Test for SDE1)
- Amazon Interview Experience | Set 258 (For SDE1)
- Amazon Interview Experience | Set 259 (1 Yr Experienced for SDE1)
- Amazon Interview Experience | Set 261 (For SDE1)
- Amazon Interview Experience | Set 264 (Experienced for SDE1)
- Amazon Interview Experience | Set 262 (For SDE1)
- Amazon Interview Experience | Set 266 (Off-Campus for SDE1)


