---
# System prepended metadata

title: 1133. Largest Unique Number
tags: [Leetcode, Easy]

---

# 1133. Largest Unique Number
###### tags: `Leetcode` `Easy`
Link: https://leetcode.com/problems/largest-unique-number/description/
## Code
```python=
class Solution:
    def largestUniqueNumber(self, nums: List[int]) -> int:
        cnter = Counter(nums)
        return max([-1] + [key for key, value in cnter.items() if value == 1])
```