Amazon interview question

common behavioral questions and one easy to medium level leet code problem