Domanda di colloquio di C3 AI

A basic design question and an LC easy algorithm question.