Algorithm: Split a string into N parts using whitespaces so all parts have nearly the same length

前端 未结 0 1558
说谎
说谎 2020-12-21 01:59

I am looking for a algorithm that takes a string and splits it into a certain number of parts. These parts shall contain complete words (so whitespaces are used to split the

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