Problem
476. Number Complement This question is the same as 1009
Java
naive
1 | class Solution { |
Submission Detail
- 149 / 149 test cases passed.
- Runtime: 1 ms, faster than 35.06% of Java online submissions for Number Complement.
- Memory Usage: 38.5 MB, less than 5.05% of Java online submissions for Number Complement.
2
1 | class Solution { |
Submission Detail
- 149 / 149 test cases passed.
- Runtime: 1 ms, faster than 35.06% of Java online submissions for Number Complement.
- Memory Usage: 37.7 MB, less than 18.78% of Java online submissions for Number Complement.
3
1 | class Solution { |
Submission Detail
- 149 / 149 test cases passed.
- Runtime: 0 ms, faster than 100.00% of Java online submissions for Number Complement.
- Memory Usage: 36.4 MB, less than 49.07% of Java online submissions for Number Complement.
4
1009. Complement of Base 10 Integer
1 | class Solution { |
Submission Detail
- 128 / 128 test cases passed.
- Runtime: 0 ms, faster than 100.00% of Java online submissions for Complement of Base 10 Integer.
- Memory Usage: 36.5 MB, less than 29.82% of Java online submissions for Complement of Base 10 Integer.