C3 AI interview question

Leetcode and lift design question