1133. Largest Unique Number
https://leetcode.com/problems/largest-unique-number
Description
Given an integer array nums
, return the largest integer that only occurs once. If no integer occurs once, return -1
.
Example 1:
Example 2:
Constraints:
1 <= nums.length <= 2000
0 <= nums[i] <= 1000
ac
Last updated