Quote:
Originally Posted by regalis
Do you think a while loop would be more suitable?
|
Any recursive algorithm has an iterative implementation. The thing is that if there's no valid point it will loop forever. This won't be the case.
It all depends on how Hawk552 decides to implement that algorithm. (might I add that this issue has been dealt with before and handled - but I guess that neither Backtracking, Greedy, partitioning nor dynamic methods would help
)