HTMLify

LeetCode - Single Number - Python
Views: 6 | Author: abh
class Solution:
    def singleNumber(self, nums: List[int]) -> int:
        return sorted(nums, key=lambda e:nums.count(e))[0]

Comments