First there were two online assessments. After that 3 interviews 45-50 min each back to back . Where they asked coding problems and few behavioral questions. The behavioral questions tested me over the 14 principles Amazon stood for. I could do behavioral and coding well , but for one question I took more time to code than was allocated. So maybe that's what resulted in the rejection.
The online assessments will be like the leetcode problems you solve. There are 2 coding problems which should be solved in 90 min