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 62afbe9 commit d078e87Copy full SHA for d078e87
src/main/java/com/fishercoder/solutions/_423.java
@@ -1,25 +1,5 @@
1
package com.fishercoder.solutions;
2
3
-/**
4
- * 423. Reconstruct Original Digits from English
5
- *
6
- * Given a non-empty string containing an out-of-order English representation of digits 0-9, output the digits in ascending order.
7
-
8
- Note:
9
- Input contains only lowercase English letters.
10
- Input is guaranteed to be valid and can be transformed to its original digits. That means invalid inputs such as "abc" or "zerone" are not permitted.
11
- Input length is less than 50,000.
12
13
- Example 1:
14
- Input: "owoztneoer"
15
16
- Output: "012"
17
- Example 2:
18
- Input: "fviefuro"
19
20
- Output: "45"
21
22
- */
23
public class _423 {
24
25
public static class Solution1 {
0 commit comments