Domanda di colloquio di Nielsen

2 Leetcode medium questions were asked.