You are given an integer array nums. You want to maximize the number of points you can earn by performing the following operation any number of times: Pick any nums[i] and delete it to earn nums[i]…
You've read your 3 free write-ups
Sign up free to keep reading. Your account opens the first 10 questions of every company.