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:
Round 3: