How to design Splitwise? - Machine Coding Round Questions