3 stages of online assessments, first was checking for mistakes in other people's code, second was actual programming questions (+behavioral) and third was something simulating how working at Amazon would be like. Each stage took around 30min-1h and it took them around 2-5 days to reply after finishing a stage.
Followed by 2 interviews (one after the other)