Maybe you better spell out how this is different from the problem of sorting an array and just writing appropriate compare and exchange functions ... An array must be used to store a count of ASCII ...
一些您可能无法访问的结果已被隐去。
显示无法访问的结果一些您可能无法访问的结果已被隐去。
显示无法访问的结果