Given n cards, each with a numeric value and one of four symbols, choose exactly k cards to maximize your score. The score is the sum of the values of the chosen cards plus the sum of the squares of…
You've read your 3 free write-ups
Sign up free to keep reading. Your account opens the first 10 questions of every company.