Flipkart interview question

Splitwise machine coding question with groups