leetcode423】的更多相关文章

Given a non-empty string containing an out-of-order English representation of digits 0-9, output the digits in ascending order. Note: Input contains only lowercase English letters. Input is guaranteed to be valid and can be transformed to its origina…
public class Solution { public string OriginalDigits(string s) { ]; ; i < s.Length; i++) { char c = s[i]; ]++; ]++; ]++; ]++; //7-6 ]++; ]++; ]++; //5-4 ]++; //3-8 ]++; //9-8-5-6 ]++; //1-0-2-4 } count[] -= count[]; count[] -= count[]; count[] -= cou…