Return occurence of letters in order in the string

后端 未结 0 1142
陌清茗
陌清茗 2021-02-04 05:23

I made this code to return the number of occurrences of letters in a string. this function returns \'6a3b5y\' but I want it to respect the order and display \'4a3b2a5y\' how to

相关标签:
回答
  • 消灭零回复
提交回复
热议问题