Split list of elements into decreasing sub-lists Haskell

后端 未结 0 1188
忘掉有多难
忘掉有多难 2020-11-28 19:28

I would like to ask how I can split the list of elements into sub-lists according to their decreasing values (preferably using recursion). For example this list [3,5,2,1,8,7

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