文件名称:number4
-
所属分类:
- 标签属性:
- 上传时间:2012-11-16
-
文件大小:591byte
-
已下载:0次
-
提 供 者:
-
相关连接:无下载说明:别用迅雷下载,失败请重下,重下不扣分!
介绍说明--下载内容来自于网络,使用问题请自行百度
回文判别
实验要求:称正读和反读都相同的字符序列为“回文”,如“abba”和“abccba”是“回文”,“abcde”和“ababab”则不是“回文”,试设计一个算法,判别读入的一个以@为结束符的字符序列是否是“回文”。
实验目的:
1、掌握循环队列的定义及应用;
2、掌握队列的基本操作;
3、进一步熟练掌握栈的基本操作及应用;
4、初步学会解决具体问题的算法设计。-Experimental identification requirements palindrome: that is read and the anti-time sequence of characters are the same as a " palindrome" , such as " abba" and " abccba" is " palindrome" , " abcde" and " ababab" is not " palindrome" and try to design an algorithm to determine a time to @ for the character sequence at the end of it is " Palindrome." The experiment was: 1, master cycle and application of the definition of the queue 2, master the basic operation of the queue 3, and further stack master the basic operation and applications 4, a preliminary settlement of specific issues of the Institute of algorithm design.
实验要求:称正读和反读都相同的字符序列为“回文”,如“abba”和“abccba”是“回文”,“abcde”和“ababab”则不是“回文”,试设计一个算法,判别读入的一个以@为结束符的字符序列是否是“回文”。
实验目的:
1、掌握循环队列的定义及应用;
2、掌握队列的基本操作;
3、进一步熟练掌握栈的基本操作及应用;
4、初步学会解决具体问题的算法设计。-Experimental identification requirements palindrome: that is read and the anti-time sequence of characters are the same as a " palindrome" , such as " abba" and " abccba" is " palindrome" , " abcde" and " ababab" is not " palindrome" and try to design an algorithm to determine a time to @ for the character sequence at the end of it is " Palindrome." The experiment was: 1, master cycle and application of the definition of the queue 2, master the basic operation of the queue 3, and further stack master the basic operation and applications 4, a preliminary settlement of specific issues of the Institute of algorithm design.
(系统自动生成,下载前可以参看下载内容)
下载文件列表
number4.txt
本网站为编程资源及源代码搜集、介绍的搜索网站,版权归原作者所有! 粤ICP备11031372号
1999-2046 搜珍网 All Rights Reserved.