Sorted Sublist within a F# list of integers

后端 未结 0 1598
鱼传尺愫
鱼传尺愫 2020-12-13 07:56

I am trying to get a sublist which contains the largest and then eventually second largest element from left to right in F#. For example if I have list1 = [2;5;3;4]

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