Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[面经]-[头条]-[基础研发]-[2020.03.29] #18

Open
L1116 opened this issue Mar 29, 2020 · 0 comments
Open

[面经]-[头条]-[基础研发]-[2020.03.29] #18

L1116 opened this issue Mar 29, 2020 · 0 comments
Labels

Comments

@L1116
Copy link
Collaborator

L1116 commented Mar 29, 2020

  1. jsBridge原理
  2. react setState
this.setState({ a: 1 })
this.setState({ b: 1 })
this.setState({ a: 2 })

// state最终的结果是什么,render几次
  1. 前端性能监控都有哪些手段

  2. 性能监控收集到的数据如何处理

  3. redux原理

  4. 高阶组件是什么,作用是什么,业务场景

  5. 说一下你对构建工具的理解

  6. webpack打包的原理和流程

  7. webpack除了常见的plugin,你还用过哪些比较好用的,印象深刻的plugin

  8. 异步请求,失败后重试,最多limit次,全部失败输出最后一次的错误,用promise实现

  9. redux 异步数据流

  10. reduxthunk

  11. react是如何管理状态的,有几种方式让状态共享

  12. 有一个数组,给定一个数,找出数组中和为这个数的倆元素,

arr = [2, 1, 2, 1, 3, 0, 4, 1, 3,...] target = 4
 输出[
 [2,2],
 [1,3], // [3,1] 被认为是重复的 要剔除
 [0,4]
 ]

要求复杂度小于o(n^2),不允许出现重复的元素,不允许出现原数组中没有的元素

@L1116 L1116 added the 面经 label Mar 29, 2020
@L1116 L1116 changed the title [面经]-[头条]-[基础研发]-[] [面经]-[头条]-[基础研发]-[2020.03.29] Mar 29, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant