Daily-Interview-Question icon indicating copy to clipboard operation
Daily-Interview-Question copied to clipboard

我是依扬(木易杨),公众号「高级前端进阶」作者,每天搞定一道前端大厂面试题,祝大家天天进步,一年后会看到不一样的自己。

Results 160 Daily-Interview-Question issues
Sort by recently updated
recently updated
newest added

> 例如:给定 nums1 = [1, 2, 2, 1],nums2 = [2, 2],返回 [2, 2]。 ```javascript var nums1 = [1, 2, 2, 1], nums2 = [2, 2, 3, 4]; // 1. //...

编程题

因为B会在重启之后进入tcp状态机的listen状态,只要当a重新发送一个数据包(无论是syn包或者是应用数据),b端应该会主动发送一个带rst位的重置包来进行连接重置,所以a应该在syn_sent状态

网络

![image](https://user-images.githubusercontent.com/16753554/69211590-8192ba00-0b99-11ea-9e5d-f32400363154.png) ![image](https://user-images.githubusercontent.com/16753554/69211742-07166a00-0b9a-11ea-89a5-280527c239af.png)

编程题

```js const list = [1, 2, 3] const square = num => { return new Promise((resolve, reject) => { setTimeout(() => { resolve(num * num) }, 1000) }) } function...

字节
编程题

列如: ``` javascript // 实现一个 map 函数 const targetData = { a: 2, b: 3, c: 4, d: 5 }; const objMap = (obj, fn) => { if (typeof fn...

1. clientHello 2. SeverHello 3. 客户端回应 4. 服务器的最后回应 [具体可以看这篇文章](http://www.ruanyifeng.com/blog/2014/02/ssl_tls.html)

网络

const test = { a: 1, b: 2, c: 3 } const ObjMap = (obj, fn) => { const keys = Object.keys(obj) for (let i =0 ; i < keys.length;...

arr.flat(3) 后面的3代表降低的层级