Looking for a nice way to split a List in Scala

后端 未结 0 1929
北海茫月
北海茫月 2021-02-18 14:20

I\'m trying to split a List at a splitting point in Scala

For Example, splitting the following List

List(2,6,4,7,9,10) with a splitting point of 4

would res

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