Tux


KISS

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 30

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 39