Pergunta de entrevista da empresa Lucid Software

Two easy leetcode problem and one object design