Various algorithms I've coded up, mostly for puzzles or interview problems.