Please solve the programming task below using a self-contained code snippet in a markdown code block.

You are given an integer array nums with the following properties:

nums.length == 2 * n.
nums contains n + 1 unique elements.
Exactly one element of nums is repeated n times.

Return the element that is repeated n times.
 
Please complete the following python code precisely:
```python
class Solution:
    def repeatedNTimes(self, nums: List[int]) -> int:
```