Cute little quicksort (python)
Posted in python programming, Software on Dec 26th, 2008
Hey all: So, I am a little embarrassed to admit that this is my second python program, but happy to say that it works well, and is quite readable. Just thought I would share a simple quicksort in python: def getFunc(array, x, func): ret = [] for num in array: if func(num, x): ret.append(num) return [...]