C3 AI Interview Question

I don't quite remember, but study up on leetcode mediums!