皮皮学,免费搜题
登录
搜题
【简答题】
已知用有序存储整数集合的元素。阅读算法f30,并回答下列问题: (1)f30(a,b)的返回值为 ,(其中a和b分别为指向存储集合{2,4,5,7,9,12}和{2,4,5,7,9}的的头指针); (2)算法f30的时间复杂度= 。(设a的长度为 n,b的长度为m) int f30(LinkList ha,LinkList hb) { //LinkList 是带有头结点的单 //ha 和hb分别为指向存储两个有序整数集合的的头指针 LinkList pa,pb; pa=ha->next; pb=hb->next; while(pa && pb && pa->data==pb->data) { pa=pa->next; pb=pb->next; } if(pa==NULL && pb==NULL) return 1; else return 0; }
拍照语音搜题,微信中搜索"皮皮学"使用
参考答案:
参考解析:
知识点:
.
..
皮皮学刷刷变学霸
举一反三
【单选题】Classical growth theory proposes that real GDP growth is ________ and that real GDP per person will ________ the subsistence level.
A.
permanent; temporarily be above
B.
permanent; always be above
C.
temporary; temporarily be above
D.
temporary; be above and below
【单选题】Classical growth theory argues that when real GDP per person rises above the subsistence level,
A.
technological change slows down, stagnating the economy.
B.
population growth increases, driving real GDP per person back to subsistence level.
C.
people don't want to work as much, decreasing labor supply.
D.
the economy enjoys a period of permanent growth.
【判断题】刚玉和绿柱石都常发育有六方柱,它们都属于六方晶系
A.
正确
B.
错误
【单选题】Real GDP ______ over time and the growth rate of real GDP ______.
A.
grows; fluctuates
B.
is steady; is steady
C.
grows; is steady
D.
is steady; fluctuates
【多选题】以下哪些是属于服务规范送修的关键要点
A.
迎接客户要积极
B.
维修场地随主便
C.
关怀客户需定期
D.
上门送回主动提
【判断题】宝石晶体外观几何形态为六方柱时,这种宝石属于六方晶系宝石 。
A.
正确
B.
错误
【判断题】刚玉和绿柱石常发育六方柱,他们都属于六方晶系。
A.
正确
B.
错误
【多选题】以下哪些是属于服务规范送修的关键要点
A.
迎接客户要积极
B.
关怀客户需定期
C.
维修场地随主便
D.
上门送回主动提
【判断题】红柱石属于三方晶系。晶体呈假四方柱状,横断面主要为近四方形,次为菱形,少量呈缺棱正方形及聚晶。
A.
正确
B.
错误
【单选题】Long-run growth in real GDP is determined primarily by ______, while short-run movements in real GDP are associated with ______.
A.
variations in labor-market utilization; technological progress
B.
technological progress; variations in labor-market utilization
C.
money supply growth rates; changes in velocity
D.
changes in velocity; money supply growth rates
相关题目: