Sollicitatievraag bij Nielsen

2 Leetcode medium questions were asked.