堆是一种数据结构,分为大顶堆和小顶堆两种类型。大(小)顶堆要求父元素大于等于(小于等于)其左右孩子元素。则()是一个小顶堆结构。堆结构用二叉树表示,则适宜的二叉树类型为()。对于10个结点的小顶堆,其对应的二叉树的高度(层数)为()。堆排序是一种基于堆结构的排序算法,该算法的时间复杂度为()。
A.10,20,50,25,30,55,60,28,32,38B.10,20,50,25,38,55,60,28,32,30C.60,55,50,38,32,30,28,25,20,10D.10,20,60,25,30,55,50,28,32,38
问题2:A.普通二叉树B.完全二叉树C.二叉排序树D.满二叉树
问题3:A.3B.4C.5D.6
问题4:A.lgnB.nlgnC.nD.n2

查看答案

相关问题推荐

  • Bug记录信息包括()。①被测软件名称②被测软件版本③测试人④错误等级⑤开发人⑥详细步骤
    A.①③④⑥B.①②④⑥C.①②③④⑥D.①②③④⑤⑥
    查看答案
  • ()不属于网络测试的测试类型。
    A.可靠性测试B.可接受性测试C.存储容量测试D.吞吐量测试
    查看答案
  • Designing the data storage architecture is an important activity in system design. There are two main types of data storage formats: files and databases. Files are electronic of data that have been optimized to perform a particular transaction. There are several types of files that differ in the way they are used to support an application.( ) store core information that is important to the business and , more specifically , to the application , such as order information or customer mailing information . ( ) contain static values , such as a list of valid codes or the names of cities . Typically, the list is used for validation. A database is a collection of groupings of information that are related to each other in some way. There are many different types of databases that exist on the market today.( ) is given to those databases which are based on older , sometimes outdated technology that is seldom used to develop new applications . ( ) are collections of records that are related to each other through pointers In relational database , ( ) can be used in ensuring that values linking the tables together through the primary and foreign keys are valid and correctly synchronized.

    A.Master files B.Look-up files C.Transaction files D.History files
    问题2:
    A.Master files B.Look-up files C.Audit files D.History files
    问题3:
    A.Legacy database B.Backup database C.Multidimensional database D.Workgroup database
    问题4:
    A.Hierarchical database B.Workgroup database C.Linked table database D.Network database
    问题5:
    A.identifying relationships B.normalization C.referential integrity D.store procedure
    查看答案
  • 把IP网络划分成子网的好处是()。
    A.减小冲突域的大小B.减小广播域的大小C.增加可用主机的数量D.减轻路由器的负担
    查看答案
  • 以下叙述中,()不是一个风险。
    A.由另一个小组开发的子系统可能推迟交付,导致系统不能按时交付B.客户不清楚想要开发什么样的软件,因此开发小组开发原型帮助其确定需求C.开发团队可能没有正确理解客户的需求D.开发团队核心成员可能在系统开发过程中离职
    查看答案
  • 新能源汽车与传统汽车的安全性是否存在差异
    查看答案
  • 新媒体营销和传统营销有什么区别
    查看答案
  • 从教育学未来的角度来定位教的有效性,最核心、最本质的定位是()
    查看答案
  • 下面,不是系统安全所包含的内容是______。

    A.要保证操作系统不能崩溃

    B.要保证系统中的账户不能被盗

    C.要保证文件和目录存取权限设置的安全

    D.要保证数据库系统的正常运行
    查看答案
  • 设有一个 Student数据库,包括数据库,包括学生,课程,选修三个关系:三个关系:学生学生:S ( Sno ,Sname ,Ssex ,Sage,Sdept )
    课程课程:C(Cno ,Cname ,Term,Credit )
    选修选修:SC ( Sno ,Cno ,Score )
    其中:学生关系S的属性分别表示:学号、姓名、性别、的属性分别表示:学号、姓名、性别、年龄、专业课程关系C的属性分别表示:课程号、课程名、的属性分别表示:课程号、课程名、开课学期、学分学分选修关系SC的属性分别表示:学号、课程号、分数
    请用SQL语句完成下面的操作:
    (1)、检索所有比"王华"年龄大的学生姓名、年龄和性别
    (2)、检索选修了课程号为课程号为'CO2'课程的学生中成绩最高的学生的学号
    (3)、检索选修了4门以上课程的学生学号和总成绩(不统计不及格的课程),并要求按照总成绩的降序排列。(4)、检索张力同学没有选修的课程的课程号
    查看答案