皮皮学,免费搜题
登录
logo - 刷刷题
搜题
【简答题】
设二以二叉为存储结构,以下是一个对二进行中序遍历的非递归算法。 Status inordertraverse( B iTree t ,Status(*Visit)(TelemType e) ) { // 对以二叉为存储结构的二 t ,采用非递归算法进行中序遍历 InitStack(s); ( 1 ) ; // 根指针进栈 while(!StackEmpty(s)) {while ( ( 2 ) &&p) Push(s,p->lchild); // 向左走到尽头 ( 3 ) ; // 空指针退栈 if ( !StackEmpty(s) ) { Pop(s,p); if(! ( 4 ) ) return error; Push(s,p->rchild); }//if }//while return OK; }//inordertraverse
手机使用
分享
复制链接
新浪微博
分享QQ
微信扫一扫
微信内点击右上角“…”即可分享
反馈
参考答案:
举一反三
【单选题】Which of the following is NOT mentioned as a factor shaping personality?
A.
Death of a parent.
B.
Children's language.
C.
A natural disaster.
D.
A fatal disease.
【判断题】德语区中,所有的人说的德语是一个理想的、均质的整体。
A.
正确
B.
错误
【单选题】Everything is decided in a family ______. ( )
A.
by the couple
B.
with the help of their parents
C.
by brothers and sisters
D.
with the help of aunts and uncles
【判断题】进给量越大零件表面粗糙度值越小( )
A.
正确
B.
错误
【判断题】零件表面粗糙度值越小,其耐磨性越好。()
A.
正确
B.
错误
【单选题】按贷款用途划分,公司信贷的种类不包括( )。
A.
自营贷款
B.
流动资金贷款
C.
技术改造贷款
D.
基本建设贷款
【多选题】新中国成立以后,我国实行了重工业优先发展战略。重工业的特征包括()
A.
建设周期长
B.
劳动密集
C.
关键技术设备需要进口
D.
每个项目资金投入大
【简答题】根据短文内容判断正(T)误(F)。 Many years ago, children who had good manners kept quiet if their parents were talking with other people.Today, well-mannered children have more . Sometimes good manners in on...
【单选题】(三)下表给出某地1991年至2000年粮食单产资料。请据此进行分析,回答以下问题,在备选答案中选取正确答案。 86.根据上表数据,可以画出时间与产量关系的散点图为( )。
A.
图1
B.
图2
C.
图3
D.
图4
【单选题】It can be inferred from the passage that stages of sleep are primarily classified according to ______.
A.
breathing rhythms
B.
muscular movement
C.
dreaming patterns
D.
brain wave activity
相关题目:
参考解析:
知识点:
题目纠错 0
发布
创建自己的小题库 - 刷刷题