Amazon interview question

Few questions on My Project