Top three categories by total score

0
Remix

You get a list of (category, score) tuples. Add up the score of each category and return the best total you can get from at most three categories (the three highest totals). Follow-up: do it without heapq.

MetaTechnical phone screenLast asked Dec 2025
No answer yet. Write the first one; the best answer gets endorsed.