Algorithimic puzzles