Cisco Interview Question

3 different leetcode questions- 1 hour 30 minutes total