I really need your help in something.. I have a Java Project for tmrw and I really dont have time to do it... It is some simple code that , i guess, more than half of you have it.. can you help me?
Implement the queen’s problem:
• The program should ask the user to enter a number n >=4
• Then the program should place n queens on an n x n board with no queen attacking any of the others
• You must use a stack (as described in the slides) to implement
• Your program should show the following out put:
o A list of the positions to be filled
o A drawing (use an applet or application) showing the n x n board with n positions filled (draw anything in the positions, a circle, change color, or anything that indicates that the position is filled)