how to extract repeated characters - simple string compressing algorithm

后端 未结 0 1843
暗喜
暗喜 2020-12-08 06:04

can any one think of best way to address below problem. I can do it with lots of IFs and FORs but wondering if there is any simple better solution for it.

We have a s

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