Samsara interview question

OOP, algorithm, sys design.