Samsara interview question

Object oriented modelling and implementing helper functions