Skip to content

Commit 4f3bbce

Browse files
refactor 294
1 parent b2a77f9 commit 4f3bbce

File tree

1 file changed

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

1 file changed

+0
-13
lines changed

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

Lines changed: 0 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -3,19 +3,6 @@
33
import java.util.ArrayList;
44
import java.util.List;
55

6-
/**
7-
* You are playing the following Flip Game with your friend:
8-
* Given a string that contains only these two characters: + and -,
9-
* you and your friend take turns to flip two consecutive "++" into "--".
10-
* The game ends when a person can no longer make a move and therefore the other person will be the winner.
11-
12-
Write a function to determine if the starting player can guarantee a win.
13-
14-
For example, given s = "++++", return true. The starting player can guarantee a win by flipping the middle "++" to become "+--+".
15-
16-
Follow up:
17-
Derive your algorithm's runtime complexity.
18-
*/
196
public class _294 {
207

218
public static class Solution1 {

0 commit comments

Comments
 (0)