【2021】牛客模考·大厂定制真题前端工程师
时长:120分钟 总分:100分
209浏览 0人已完成答题
题型介绍
题型 | 单选题 | 填空题 |
---|---|---|
数量 | 25 | 3 |
二叉树T1,点集为{A,B,C,D,E},边集为{A-B,A-C,C-D,...
一个序列{a,b,1,_}按序入栈,按出栈顺序构成一个字符串,其中有()个...
给定段表如表a所示,给出的逻辑地址为段号和段内位移,分别求逻辑地址[1,1...
段号 | 段首址 | 段长 |
0 | 210 | 500 |
1 | 2350 | 20 |
2 | 100 | 90 |
3 | 1350 | 590 |
4 | 1938 | 95 |
表a
设有4个同时到达的作业A1,A2,A3和A4,各作业所需要的执行时间分别是...
一个含有n(n>1)个元素的完全二叉树(根节点索引为0),其倒数第一...
一个含有n(n>1)个元素的完全二叉树(根节点索引为0),其倒数第一个非叶节点的索引位置(按照层序遍历的结果)是()
假设有一个箱子,箱子里面有10个乒乓球,其中有4个是黄球,6个是白球,从中...
汉明码是一种具有一位纠错能力的编码,常用于数据传输中的差错检测,若按配奇原...
在学校数据库表中,存在这关系SCRO(SO,CO,GRADE),主码是(S...
现有两张用户信息表user_info、user_info_old,以下哪种...
A式计数法
学会了美式计数方式后,小
现在给出
随后
质数之手
插班生
输入描述:
第一行输入一个正整数 , 表示学生的个数。
接下来一行输入 个正整数
,表示每个学生的听课认真度。
现有两条平行的直线l1和l2,两条直线上分别有m1和m2个互不重合的点,那...
某国国王小明对4这个数字非常地忌讳,于是他下令全国所有的书籍,主要页码里还...
小明到某国参加一个叫做《章鱼游戏》的真人秀节目。其中第一个挑战是要求快速算...
console.log(1)asyncfunctionfun1(){co...
console.log(1) async function fun1(){ console.log(6) await fun2() console.log(7) } setTimeout(()=>{ console.log(9) },0) async function fun2(){ new Promise((resolve)=>{ console.log(2) resolve(3) setTimeout(()=>{ console.log(4) },0) }).then((data)=>{ console.log(data) }).then(()=>{ console.log(5) }) } fun1() console.log(8)
以下代码执行的结果是()vararr=[{old:'old'},['old...
var arr = [{old: 'old'}, ['old'], 'old'] var new_arr = arr.concat() arr[0].old = 'new' arr[1][0] = 'new' console.log(arr) console.log(new_arr)
以下代码执行的结果是()functionAnimal(){}Animal....
function Animal() {} Animal.price = 1000 Animal.prototype.price = 20 var Dog = function () {} Dog.prototype = new Animal() var cat = Animal var dog = new Dog() console.dir(dog.price) console.log(cat.price)
执行以下代码,最终son盒子的width值是()px .father { ...
执行以下代码,最终son盒子的width值是()px
.father {
width: 200px
height: 200px
background-color: pink
}
.son {
margin:0 -5px
padding:0 10px
height:100px
background-color: red
}
<div class="father">
<div class="son"></div>
</div>
执行以下html和对应选项的css代码,其展示效果不是三角形的是() &l...
执行以下html和对应选项的css代码,其展示效果不是三角形的是()
<div></div>
根据以下的html代码,为匹配第一个span元素,下列属性选择器中,正确的...
根据以下的html代码,为匹配第一个span元素,下列属性选择器中,正确的是()
<div>
<em>1</em>
<span>2</span>
<span>3</span>
<span>4</span>
</div>
根据以下html和css代码,son盒子所属的包含块是() .grandf...
根据以下html和css代码,son盒子所属的包含块是()
.grandfather {
position:relative
top:50px
left:50px
width:200px
height:200px
background-color: pink
}
.father {
position:relative
width:100px
height:100px
background-color: red
}
.son {
position:fixed
width:50px
height: 50px
left:10px
top:10px
background-color: green
}
<div class="grandfather">
<div class="father">
<div class="son"></div>
</div>
</div>