(self, nums: List[int])
| 4 | |
| 5 | class Solution: |
| 6 | def missingNumber(self, nums: List[int]) -> int: |
| 7 | xor = 0 |
| 8 | for i in range(len(nums) + 1): |
| 9 | xor ^= i |
| 10 | for num in nums: |
| 11 | xor ^= num |
| 12 | return xor |
nothing calls this directly
no outgoing calls
no test coverage detected