PolicyMe interview question

CS fundamentals and data structure