leetcode weekly contest 61 ( 740. Delete and Earn )

Given an array nums of integers, you can perform operations on the array. In each operation, you pick any nums[i] and delete it to earn nums[i] points. After, you must delete every element equal to n
相關文章
相關標籤/搜索