Open alexandre opened 8 years ago
Oh man. I kind of abandoned this repo for the last years. Shame on me. =(
Now answering with a slight delay of 3 years:
I didn't know this "99 lisp problems" page. I'm definitely going to have some fun with it for the next days. hahahaha Thanks for that!
As for the particular 8 queens problem: I already spent some time thinking about it and honestly I didn't find a decent (meaning: not greedy) solution. For me it seems much more like a math challenge (P=NP complete?) than a computing challenge.
Despite the delay, it was nice to hear from you! =D
I like the 99 LISP Problems[0] and I'm trying to solve them with Racket[1].
I know you like chess, so what about a solution for this one (the 90th) using Python ?:
I hope you like. =]
0 - http://www.ic.unicamp.br/~meidanis/courses/problemas-lisp/L-99_Ninety-Nine_Lisp_Problems.html 1 - https://racket-lang.org/ (let me know if you want to talk about Racket/FP)
[ ]'s