Recent content by otnaug

  1. O

    Nqueens problem, n will be input, output count of all possibles

    can you provide some outlines for the recursive function? thanks!
  2. O

    Nqueens problem, n will be input, output count of all possibles

    Hi, I'm writing a program for nqueens where inputs will be n and possibly a few existing queens already placed on the board. So far I've come up with one method, but got stuck on the second one. (hoping second method is more efficient) 1st method: - tabulate possible outcome of (n*n...
Back
Top