评论:4clojure 题解 Reverse Interleave

按照数值给一个序列交错分组Write a function which reverses the interleave process into x number of subsequences.(= (__ [1 2 3 4 5 6] 2) '((1 3 5) (2 4 6)))(= (__ (range 9) 3) '((0 3 6) (1 4 7) (2 5 8)))(= (__ (range 10) 5) '((0 5) (1 6) (2 7) ( [更多>>]

网友评论0 条评论)
发表评论

Copyright © 2012-2014 我的代码板 Inc. 保留所有权利。

页面耗时0.0171秒, 内存占用1.81 MB, 访问数据库8次

闽ICP备15009223号-1