Skip to content

Commit

Permalink
add 98
Browse files Browse the repository at this point in the history
  • Loading branch information
yygmind committed Jul 3, 2019
1 parent a99ef2e commit 60dd191
Show file tree
Hide file tree
Showing 2 changed files with 34 additions and 3 deletions.
29 changes: 26 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,13 +11,24 @@

## 今日面试题

2019-07-02
2019-07-04

> 97 题:React Vue diff 时间复杂度从 O(n^3) 优化到 O(n) ,那么 O(n^3) O(n) 是如何计算出来的?
> 98 题:写出如下代码的打印结果

```js
function changeObjProperty(o) {
o.siteUrl = "http://www.baidu.com"
o = new Object()
o.siteUrl = "http://www.google.com"
}
let webSite = new Object();
changeObjProperty(webSite);
console.log(webSite.siteUrl);
```

公司:京东

解析:[ 97 ](https://github.com/Advanced-Frontend/Daily-Interview-Question/issues/151)
解析:[ 98 ](https://github.com/Advanced-Frontend/Daily-Interview-Question/issues/152)

<br/>

Expand All @@ -26,6 +37,18 @@

## 本周汇总

2019-07-02

> 97 题:React Vue diff 时间复杂度从 O(n^3) 优化到 O(n) ,那么 O(n^3) O(n) 是如何计算出来的?



解析:[ 97 ](https://github.com/Advanced-Frontend/Daily-Interview-Question/issues/151)

<br/>



2019-07-01

> 96 题:介绍下前端加密的常见场景和方法
Expand Down
8 changes: 8 additions & 0 deletions datum/summary.md
Original file line number Diff line number Diff line change
Expand Up @@ -200,6 +200,8 @@ console.log('script end');

解析:[ 10 ](https://github.com/Advanced-Frontend/Daily-Interview-Question/issues/7)

公司:头条

<br/>


Expand Down Expand Up @@ -500,6 +502,8 @@ if(a == 1 && a == 2 && a == 3){

解析:[ 38 ](https://github.com/Advanced-Frontend/Daily-Interview-Question/issues/57)

公司:京东

<br/>


Expand Down Expand Up @@ -626,6 +630,8 @@ console.log(obj)

解析:[ 50 ](https://github.com/Advanced-Frontend/Daily-Interview-Question/issues/88)

公司:百度

<br/>


Expand Down Expand Up @@ -1047,6 +1053,8 @@ console.log(a[b]);

解析:[ 86 ](https://github.com/Advanced-Frontend/Daily-Interview-Question/issues/136)

公司:京东、快手

<br/>


Expand Down

0 comments on commit 60dd191

Please sign in to comment.