Skip to content

Commit b2a77f9

Browse files
refactor 293
1 parent 14964fd commit b2a77f9

File tree

1 file changed

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

1 file changed

+0
-14
lines changed

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

Lines changed: 0 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -2,21 +2,7 @@
22

33
import java.util.ArrayList;
44
import java.util.List;
5-
/**
6-
* 293. Flip Game
7-
*
8-
* You are playing the following Flip Game with your friend: Given a string that contains only
9-
* these two characters: + and -, 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-
Write a function to compute all possible states of the string after one valid move.
12-
For example, given s = "++++", after one move, it may become one of the following states:
135

14-
[
15-
"--++",
16-
"+--+",
17-
"++--"
18-
]
19-
If there is no valid move, return an empty list [].*/
206
public class _293 {
217

228
public static class Solutoin1 {

0 commit comments

Comments
 (0)