Return Styles: Pseud0ch, Terminal, Valhalla, NES, Geocities, Blue Moon. Entire thread

2D dynamic bool array?

Name: Anonymous 2006-01-03 16:44

I want to create a 2D dynamic bool array (or char is fine too). I'm doing the n-queens problem and I've figured everything out except for this part. Any help?

Name: Anonymous 2006-01-06 7:45

>>12

You're using recursion and the stack to store too much state.  Increase your stack size (bad solution) or modify your algorithm to not use recursion in this explosive manner. 

This is similar to the mistake of using recursion to calculate fibonacci numbers.

/quick reading of your code

Newer Posts
Don't change these.
Name: Email:
Entire Thread Thread List