Lyft Interview Question

There is one about OOP concepts