C3 AI interview question

Questions were about data structures and algorithms. Think Leetcode easy to medium level difficulty.