jainp2590Oct '19Can anybody help me to understand this problem. I’m not able to understand this problemcreatedOct '19last replyOct '191reply615views2users1like
simesOct '19You need to find the K friends with the highest total expenses, and output the sum of their total expenses. Bear in mind that friends may occur in the input multiple times, so you need to find their total expense. Is that any better?1 Like