Computer and Modernization ›› 2011, Vol. 1 ›› Issue (3): 15-16,2.doi: 10.3969/j.issn.1006-2475.2011.03.005

• 人工智能 • Previous Articles     Next Articles

Implementation and Analysis of N Queens Problem with Java Language

WU Hong-ping   

  1. College of Mathematics and Information Science, Northwest Normal University, Lanzhou 730070, China
  • Received:2010-12-17 Revised:1900-01-01 Online:2011-03-18 Published:2011-03-18

Abstract: This paper uses a simplicity backtracking algorithm, presents a complete Java program for N queens problem, and the time cost about this program is exactly counted.

Key words: N queens problem, backtracking algorithm, Java language

CLC Number: