|
|
@@ -1,6 +1,3 @@
|
|
1
|
|
-import java.util.regex.Matcher;
|
|
2
|
|
-import java.util.regex.Pattern;
|
|
3
|
|
-
|
|
4
|
1
|
public class RunLengthEncoding {
|
|
5
|
2
|
public String encode(String data) {
|
|
6
|
3
|
throw new UnsupportedOperationException("Method has not been implemented yet.");
|
|
|
@@ -9,4 +6,4 @@ public class RunLengthEncoding {
|
|
9
|
6
|
public String decode(String encodedData) {
|
|
10
|
7
|
throw new UnsupportedOperationException("Method has not been implemented yet.");
|
|
11
|
8
|
}
|
|
12
|
|
-}
|
|
|
9
|
+}
|