Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
32 changes: 28 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,13 +11,26 @@

## 今日面试题

2019-07-12
2019-07-15

> 第 104 题:模拟 localStorage 时如何实现过期时间功能
> 第 105 题:编程题

公司:阿里
url有三种情况

解析:[第 104 题](https://github.com/Advanced-Frontend/Daily-Interview-Question/issues/171)
```js
https://www.xx.cn/api?keyword=&level1=&local_batch_id=&elective=&local_province_id=33
https://www.xx.cn/api?keyword=&level1=&local_batch_id=&elective=800&local_province_id=33
https://www.xx.cn/api?keyword=&level1=&local_batch_id=&elective=800,700&local_province_id=33
```

匹配elective后的数字输出(写出你认为的最优解法):

```js
[] || ['800'] || ['800','700']

```

解析:[第 105 题](https://github.com/Advanced-Frontend/Daily-Interview-Question/issues/177)

<br/>

Expand All @@ -26,6 +39,17 @@

## 本周汇总

2019-07-12

> 第 104 题:模拟 localStorage 时如何实现过期时间功能

公司:阿里

解析:[第 104 题](https://github.com/Advanced-Frontend/Daily-Interview-Question/issues/171)

<br/>


2019-07-11

> 第 103 题:模拟实现一个 localStorage
Expand Down