摘要
N皇后问题是各类程序设计中的较著名的题目,本文利用C语言的知识,对N皇后问题的算法进行分析,并在程序设计的过程中,通过对算法的改进,提高程序的运行效率。
N Queen's problem is that all types of programming in a more well-known subject, using the C language knowledge, the Queen's N algorithm to analyze the problem and in the process of programming, through improved algorithms to improve the running efficiency of the procedure.
出处
《电脑编程技巧与维护》
2008年第17期9-10,共2页
Computer Programming Skills & Maintenance
关键词
C语言
回溯
递归
C
Trace back
recursion