We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 837bc97 commit ace6d0fCopy full SHA for ace6d0f
src/main/java/com/fishercoder/solutions/_282.java
@@ -3,20 +3,6 @@
3
import java.util.ArrayList;
4
import java.util.List;
5
6
-/**
7
- * 282. Expression Add Operators
8
- *
9
- * Given a string that contains only digits 0-9 and a target value,
10
- * return all possibilities to add binary operators (not unary) +, -, or * between the digits
11
- * so they evaluate to the target value.
12
-
13
- Examples:
14
- "123", 6 -> ["1+2+3", "1*2*3"]
15
- "232", 8 -> ["2*3+2", "2+3*2"]
16
- "105", 5 -> ["1*0+5","10-5"]
17
- "00", 0 -> ["0+0", "0-0", "0*0"]
18
- "3456237490", 9191 -> []
19
- */
20
public class _282 {
21
22
public static class Solution1 {
0 commit comments