
Equation GeneratorHere are a few problems involving Recursion that could give you a few sleepless nights, and a lot of satisfaction once you solve them. I hope you've read my articles on programming Magic Squares, Tic Tac Toe, Connect 4, etc., because those problems have been some of my favorites.

License Plate numbersI once found myself reading license plate numbers and trying to make equations out of them. A really fun way to pass your time traveling. However, I tried making a program to do the same, and found it really challenging. You are given a 4digit number. For example, 1234. Now,
you've got to make an equation out of it, by placing arithmetic operators
and an equalto sign in between the digits. Now, the output should be such that the simpler equations (like those involving + and ) come first, before complex equations involving *, /, raisedto, etc. Take another example: 7777. The output should be in this
order (ignoring unary negation): Try supporting as many of the following operators as
possible:


recursion
index introduction
magic
squares tic
tac toe connect
4 optimizing recursion trees sorting equation generator other problems 

home jokes programming about me resume guest book  