Demandbase interview question

Design Splitwise and rotten orange