Stack类是从Vector类派生而来的,并使用其继承的容量来存储栈的元素。html
问题2解决方案:API(Application Programming Interface,应用程序编程接口)是一些预先定义的函数,目的是提供应用程序与开发人员基于某软件或硬件的以访问一组例程的能力,而又无需访问源码,或理解内部工做机制的细节。java
(statistics.sh脚本的运行结果截图)git
Issues related to the interaction between the user and system, including the design of such things as help options, meaningful messages, consistent layout, appropriate use of color, error prevention, and error recovery, are generally referred to as ____________.程序员
A . Correctness
B . Reliability
C . Robustness
D . Usability
正确答案: D
你的答案: C
与用户和系统之间的交互相关的问题,包括帮助选项,有意义的消息,一致的布局,适当的颜色使用,错误预防和错误恢复等设计,一般被称为可用性。算法
Software systems need only to work to support the work of developers, maintainers, and users.
A . True
B . Flase
正确答案: B
你的答案: A
软件系统不仅须要支持开发人员,维护人员和用户的工做。编程
A stack can be used to preserve the order of a set of data.api
A . True
B . Flase
正确答案: B
你的答案: A
堆栈可用于保存一组数据的相反顺序。数组
The following code segment has ______ time complexity?数据结构
for(int i = 0; i < n; i++){app
for(int j = 0; j < n: j=j*2){
int val = (j*i);
System.out.println(val)
}
}
A . O(1)
B . O(n)
C . O(n2)
D . O(nlogn)
正确答案: D
你的答案: C
该时间复杂度是O(nlogn)
The order of an algorithm is found by eliminating constants and all but the dominant term in the algorithm’s growth function
A . True
B . Flase
正确答案: A
你的答案: B
算法的顺序是经过消除算法的增加函数中的常数和除主导项之外的全部项来找到的
代码行数(新增/累积) | 博客量(新增/累积) | 学习时间(新增/累积) | 重要成长 | |
---|---|---|---|---|
目标 | 5000行 | 30篇 | 400小时 | |
第一周 | 0/0 | 0/0 | 0/0 | |
第二周 | 800/800 | 2/2 | 18/18 |