Need to find sublists of the list and sort them

后端 未结 0 496
花落未央
花落未央 2021-01-26 10:09

Here\'s the code for finding subsets of the list, but it\'s unsorted.

(define (subset s)
  (if (null? s)
      (list null)
      (let ((rest (subset (cdr s))))
           


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