Problem
Java
leetcode solution
1 | class Solution { |
Submission Detail
- 122 / 122 test cases passed.
- Runtime: 0 ms, faster than 100.00% of Java online submissions for Missing Number.
- Memory Usage: 47.8 MB, less than 5.40% of Java online submissions for Missing Number.
2
© Bitwise operators — Facts and Hacks - Compute XOR from 1 to n
1 | class Solution { |
Submission Detail
- 122 / 122 test cases passed.
- Runtime: 1 ms, faster than 40.83% of Java online submissions for Missing Number.
- Memory Usage: 48 MB, less than 5.40% of Java online submissions for Missing Number.