Citadel Interview Question

Difficult leetcode problems, but certainly doable.