自定义博客皮肤VIP专享

*博客头图:

格式为PNG、JPG,宽度*高度大于1920*100像素,不超过2MB,主视觉建议放在右侧,请参照线上博客头图

请上传大于1920*100像素的图片!

博客底图:

图片格式为PNG、JPG,不超过1MB,可上下左右平铺至整个背景

栏目图:

图片格式为PNG、JPG,图片宽度*高度为300*38像素,不超过0.5MB

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

-+
  • 博客(5)
  • 收藏
  • 关注

转载 作业 Exercise 4.2 E2(a)和Exercise4.3E2

E2(a) int Stack::size()const {     Node *p=top_node;     int count=0;     while(p!=NULL)     {         p=p->next;         count++;     }     return count; }E2  void Stack

2013-09-12 13:41:29 431

转载 E7

QUESTION;    Rewrite the methods for queue processing from the text ,using a flag to indicate a full queue  instead of keeping a count of the entries in the queue ANSWER;The class definiti

2013-09-05 18:41:04 490

原创 Exercise 4

(a) 当n=3时,输出为321 , 312 , 213 , 231 , 123 ;  (b)当n=4时,输出为1234, 1243, 1324, 1423, 1432, 2134, 2143,3124, 3214, 4123, 4132, 4213, 4312, 4321 (c )个数规律为:           C2n n/(n+

2013-08-29 17:46:23 480

原创 Exercise E2.(b)

Question:Use the Stack mehod and a temporary Stack to retrieve entries from the Stack source and add each entry to the Stack dest and restore the Stack source.用栈的方法,通过使用临时定义的一个栈,将source栈的元素压到des

2013-08-29 17:32:24 435

转载 数据结构与算法第一章总结

数据结构是一门研究数据组织、存储和运算的一般方法的学科计算机处理问题分几个步骤:从具体问题中抽象出数学模型; 设计算法; 写出程序并测试完成得到最终解。 1.1基本概念和术语  数据是信息的载体,能被计算机识别、存储和加工处理。  数据元素是数据的基本单位,可由若干个数据项组成,数据项是具有独立含义的最小标识单位。  数据结构包括:1)数据的逻辑

2013-08-20 22:22:08 609 1

空空如也

空空如也

TA创建的收藏夹 TA关注的收藏夹

TA关注的人

提示
确定要删除当前文章?
取消 删除