I went through some interview rounds for SDE-2 in Amazon. Below is the format.
Round1:
It was a test on HackerEarth with two programming questions
Round 2:
- Boundary Traversal of binary tree GeeksforGeeks Link
- Find four elements a, b, c and d in an array such that a+b = c+d GeeksforGeeks Link
- Write production ready code. Consider scenario for duplicates too.
Round 3:
- Trapping Rain Water GeeksforGeeks Link
- Next smallest palindrome GeeksforGeeks Link