Citadel Interview Question

It was from leetcode hard, for an OA , Leetocde 2702?