1、数据结构课程设计 课程设计报告书课程设计报告书 设计名称: 数据结构课程设计 题 目: 猴子吃桃问题 学生姓名: xxx 专 业: 计算机科学与技术(数字媒体) 班 别: x 学 号: x 指导老师: x 日 期: 2010 年 7 月 4 日 数据结构课程设计 猴子吃桃问题 第 2 页 共 9 页 摘要 当下 C+语言是一门重要的课程学习,学会运用并结合结合其他 的知识一起解题是一件值得我们重视的,数据结构是一门结合 C+知 识的重要课程, 因此我们要学会用平时课本的知识运用到我们的现实 生活当中,这样才能让我们所学的知识更加深刻。猴子吃桃的问题就 是一个例子,我们可以运用简单的三种解法进行
2、解题,即数组求值解 法,链表求值解法和递归求值解法,通过分析三种解法,根据各种解 法的功能,从而我们得到最合适的求法。 关键词:猴子吃桃,数组法,链表法,递归法,分析 Abstract: Then the c + + language is an important course study, learn to use and co mbining together with other knowledge solution is worth our attention, da ta structure is a combination of c + + classes, the import
3、ant knowledge so that we must learn to use ordinary textbooks to apply our real life, so that we can make us more profound knowledge. The monkeys eat the peach is a simple example, we can use the three solutions to solving method, i.e. a rrays are evaluated for value chain, and recursion evaluated m
4、ethod, by a nalyzing the three kinds of solutions, according to various solutions, whic h we have the function of the most suitable solution. Keywords: the monkeys eat the peach, the array method, the list of recurs ion, method, the method of analysis 数据结构课程设计 猴子吃桃问题 第 3 页 共 9 页 目录 1.1.问题描述问题描述 2 2 2.2.基本要求基本要求2 2 3 3 工具工具/