摘要: Note that when you put the list to be the parameter, and each time you do the recursion, you add element into the list, you need to remove the former 阅读全文
posted @ 2016-03-01 05:23 爱推理的骑士 阅读(158) 评论(0) 推荐(0) 编辑
摘要: We can use the idea of quichsort to solve this problem. First we set a pivot; which we let the first element of current array to be pivot; we set star 阅读全文
posted @ 2016-03-01 03:25 爱推理的骑士 阅读(141) 评论(0) 推荐(0) 编辑