コード例 #1
0
ファイル: HeapSort.py プロジェクト: xuhongfeng/algorithm-gh
def main():
    tList = randomList(100)
    heap_sort(tList)
    print tList
コード例 #2
0
ファイル: SimpleSort.py プロジェクト: xuhongfeng/algorithm-gh
def main():
    tList = randomList(100)
    merge_sort(tList)
    print tList
コード例 #3
0
def main():
    list_ = randomList(100)
    print order_select(list_, 34)
コード例 #4
0
ファイル: QuickSort.py プロジェクト: xuhongfeng/algorithm-gh
def main():
    tList = randomList(100)
    quick_sort(tList)
    print tList