Skip to content

Commit 9affc56

Browse files
fix build
1 parent 1314e8d commit 9affc56

File tree

1 file changed

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

1 file changed

+2
-2
lines changed

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

+2-2
Original file line numberDiff line numberDiff line change
@@ -61,10 +61,10 @@ public List<Integer> majorityElement(int[] nums) {
6161
count2++;
6262
}
6363
}
64-
if (count1 > nums.length/3) {
64+
if (count1 > nums.length / 3) {
6565
result.add(candidate1);
6666
}
67-
if (count2 > nums.length/3) {
67+
if (count2 > nums.length / 3) {
6868
result.add(candidate2);
6969
}
7070
return result;

0 commit comments

Comments
 (0)