Question d’entretien chez Amazon

2 Leetcode difficult level Questions on Hacker Rank