[CareerCup][Google Interview] 排序字符串 - chkkch - 博客园
Sort an input string according to the given order string. There might be characters in input string that are not present in the order string and vice-versa. The characters of input string that are not present in the order string should come at the end of the output string in any order. Write code...
http://www.careercup.com/question?id=6853815
Read full article from [CareerCup][Google Interview] 排序字符串 - chkkch - 博客园
Sort an input string according to the given order string. There might be characters in input string that are not present in the order string and vice-versa. The characters of input string that are not present in the order string should come at the end of the output string in any order. Write code...
http://www.careercup.com/question?id=6853815
Read full article from [CareerCup][Google Interview] 排序字符串 - chkkch - 博客园