Skip to content

Commit d36fe68

Browse files
refactor 421
1 parent fa98316 commit d36fe68

File tree

1 file changed

+5
-1
lines changed
  • src/main/java/com/fishercoder/solutions

1 file changed

+5
-1
lines changed

src/main/java/com/fishercoder/solutions/_421.java

+5-1
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,11 @@
66
public class _421 {
77

88
public static class Solution1 {
9-
//credit: https://discuss.leetcode.com/topic/63213/java-o-n-solution-using-bit-manipulation-and-hashmap/7
9+
/**
10+
* credit: https://discuss.leetcode.com/topic/63213/java-o-n-solution-using-bit-manipulation-and-hashmap/7
11+
* <p>
12+
* Note: comment out those system.out.println statements before submitting on LeetCode, otherwise TLE.
13+
*/
1014
public int findMaximumXOR(int[] nums) {
1115
int max = 0;
1216
int mask = 0;

0 commit comments

Comments
 (0)