[Python] Easy to undestand hash map
\nclass Solution:\n    def findLonely(self, nums: List[int]) -> List[int]:\n        if not nums:\n            return []\n        count = {}\n        for num in 
```\nclass Solution:\n    def findLonely(self, nums: List[int]) -> List[int]:\n        if not nums:\n            return []\n        count = {}\n        for num in nums:\n            if num in count:\n                count[num] += 1\n            else:\n                count[num] = 1\n            \n        result = []\n        for num in nums:\n            if not count.get(num-1) and not count.get(num+1) and count.get(num, 0) < 2:\n                result.append(num)\n        return result\n```
['Python', 'Python3']