Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Update Solution.java
  • Loading branch information
javadev authored May 25, 2022
commit 44d7a819edb6333b8a9c42eff9513ef06ea915f0
3 changes: 0 additions & 3 deletions src/main/java/g2001_2100/s2029_stone_game_ix/Solution.java
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,6 @@ private boolean fun(int[] freq, int sum) {
} else {
return false;
}

} else if (sum % 3 == 2) {
if (freq[0] > 0) {
freq[0]--;
Expand All @@ -58,7 +57,6 @@ private boolean fun(int[] freq, int sum) {
return false;
}
}

} else {
if (sum % 3 == 2) {
if (freq[0] > 0) {
Expand All @@ -69,7 +67,6 @@ private boolean fun(int[] freq, int sum) {
} else {
return true;
}

} else if (sum % 3 == 1) {
if (freq[0] > 0) {
freq[0]--;
Expand Down