Amazon interview question

medium leetcode problems and basic ml knowledge