python Quicksort demo
摘要:
__author__ = 'student' ''' quicksort step 1, choose one pivot, such as pivot=la[0] step 2, scan the data from right side, find data less than pivot, then swap this with pivot pivot=1 [4] 5 7 3 20 9 ... 阅读全文
posted @ 2015-05-09 13:42 tneduts 阅读(526) 评论(0) 推荐(0) 编辑