Generate all vectors with recursion.
Eight queens puzzle with backtracking, recursion
Sieve of Eratosthenes iterative solution.