Permutation to disjoint cycles in Haskell

后端 未结 0 1943
挽巷
挽巷 2021-01-22 09:37

I was trying to implement permutation to cycles in Haskell without using Monad. The problem is as follow: given a permutation of numbers [1..n], output the correspondence disjoi

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