Wednesday, February 04, 2009

Problem of the day - I

Will be posting problems I'm working on under this topic regularly (As regular as possible).

Currently working on placing chess pawns on a standard chessboard. Problem description goes as follows. Hope I come up with a solution asap.

There exists certain number of chess pawns ( pawns here do not mean only soldiers, it can be any chess pawn). Given the initial placement, one will be given pawns sequentially which he needs to place it on the board in such a way that it doesnt hit any of the existing pawns.

Try it out... Good exercise though! Happy solvin... =)