Wealthsimple Interview Question

OOP question about cleaning robots