C3 AI interview question

Typical Leetcode easy or medium problems