Wealthsimple interview question

OOP question about cleaning robots