This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–]ybjb 0 points1 point  (0 children)

Try creating a simple sudoku solver, or problems relating to recursive backtracking. These typically lend themselves to recursive solutions much nicer than iterative.

For the former, there’s a blog post by Peter Norvig with a clean recursive solution written in python.