Search:

Type: Posts; User: bruce88

Search: Search took 0.33 seconds.

  1. Please help ! k Queens domination nxm chessboard problems.

    This is my homework. And I don't want to ask for solution of any kind. I just want some clue, hint, strategy to start. :-w



    P/s : I have solved the n queens problem using stack before, but I...
  2. Re: N queens problem! Please help !I don't really know what the f... is going on ?

    ok i fixed it , thanks a lot. i know what you mean now.:cool:
  3. Re: N queens problem! Please help !I don't really know what the f... is going on ?

    Sorry I don't know what you mean ? :-o

    I created a object qq which belongs to the Nqueens class. Then use object qq to activate the method solution ( method solution in the Nqueens class).
    ...
  4. N queens problem! Please help !I don't really know what the f... is going on ?

    I need to solve the N queens problem (place n queens on a chess board size nxn so that the queens don't attack each other). Consist of 4 class :

    Queen.java : hold the row and column of the queen...
  5. Replies
    4
    Views
    487

    Re: Please help about data structures.

    @Norm : thanks, I am trying to add the System.out.println to each section to see what is going on.

    Edit: I think I figure out the error. Thanks again Norm, your trick works.:cool:
  6. Replies
    4
    Views
    487

    Re: Please help about data structures.

    This is what I got from running those codes:
  7. Replies
    4
    Views
    487

    Please help about data structures.

    Please help me, I got stuck on this one from yesterday til now. Long story short : I have to build an java apps for doing polynomial : addition, subtraction, derivative .... The data structure chosen...
Results 1 to 7 of 7