Files
LeetCode_tasks/solutions/lc961.py
Vombit df1dbfd0ae 4
2026-05-26 15:38:10 +05:00

10 lines
212 B
Python

class Solution:
def repeatedNTimes(self, nums: List[int]) -> int:
temp = []
for i in nums:
if i in temp:
return i
else:
temp.append(i)