foldLeft vs foldRight on List scala

后端 未结 0 413
醉梦人生
醉梦人生 2021-02-01 03:14

Assume I have a collection of c: List[T] sorted

And I need to make aggregation with foldLeft/foldRight which outputs (List[T],List[T],List

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