Amazon interview question

General leetcode questions Data structure and alogrithm