Domanda di colloquio di Lucid Software

Two easy leetcode problem and one object design