Tux


KISS

quick sort based on double linked list

```python
"""Quick Sort based on double linkedlist
"""
import collections
import random

class DataNode:
def init(self, ...

Algorithms_4th #quick sort #double linked list #算法 #algs-4th 1 comment 51

Writing selection sort in hand or on white board

选择排序

```Python3
class SelectionSort:
"""Ascending sort
"""
def selection_sort(self, array):
for i in ran...

ds_alg #ds_alg #algorithms #selection sort 0 comments 75

Writing bubble sort in hand or on whiteboard

```Python
"""
Write bubble sort in hand or on whiteboard.
"""
import doctest

class BubbleSort:
"""

>>> s = BubbleSort()

...

ds_alg #bubble sort #algorithms #sort 0 comments 88