Your Dashboard
Interview Coaching
Learn
System Design
ML System Design
Code
Behavioral
Salary Negotiation
Interview Guides
Search
⌘K
Get Premium
Leetcode 3487. Maximum Unique Subarray Sum After Deletion
Select a non-empty subsequence (you may delete any elements first) whose values are all distinct and maximize its sum — equivalently, pick at most one occurrence of each number (preserving order) to maximize the total.
Question Timeline
See when this question was last asked and where, including any notes left by other candidates.
All Regions
Comments
Hello Interview Premium
Your account is free and you can post anonymously if you choose.