Pergunta de entrevista da empresa Wealthsimple

OOP question about cleaning robots