That programmers should go out more interview, otherwise don’t know how much his food, in line with I am cooking chicken whose steel-toed spirit, I am afraid that these two days also positively the CV, looking for an interview, but because the problem of insufficient experience, a lot of big companies even pass the resume, only some startup gave an interview, but also pretty typical startup ask, if can’t hide, Share.

First of all, I would like to introduce myself, my name is XXX, wuhan 211 small book, graduated in June, 18, just graduated when I wrote Java (Ctrl C + Ctrl V) for three months; Three months ago, the front end was so weak that it couldn’t even tell the difference between reference types and value types. After three months of study, I feel that I have improved a lot (maybe it is an illusion), but after the interview, I still feel that, well, it is still vegetable chicken.

I will not name the company because it is a startup (no one has heard of it anyway). It is a blockchain company.

A:
  1. 1 consists of one 1 (1 = 1), and 2 consists of one or two 1’s (2 = 1 + 1; 2 = 2), 3 consists of a 3, 3 ones, a 1 and a 2 (3 = 3; 3 = 1 + 1 + 1; 3=1+2) how many ways can n be composed? (dp, find the expression dp)
  2. Set (O (n^2)), indexOf (O (n^2)), es6 (O (n^2)), es6 (O (n^2)), es6 (O (n^2))
  3. You said the prefix tree to heavy, then you talk about how to do (install forced success, want to learn about the prefix tree baidu go, a lot of information)
  4. Talk about the principle of vUE bidirectional binding (here from the source level for more than 10 minutes, should be good)
  5. What ES6 features have you used (let,const, template string, promise, arrow function, etc.)
  6. What does promise solve
  7. If you were asked to implement a promise, how would you implement it?
  8. Are you familiar with async, await?
  9. What about the generator
  10. A little bit about XSS (sorry, security, not much)
  11. Have you learned about WEEx and RN? (No, I have only worked on PC at present.)
  12. Node (no)
  13. Tell me about cross domain (browser same-origin policy, bala bala, the solution is, the back-end set cors, front and back side with json, people think the best solution is to modify nginx configuration)
  14. Let’s talk a little bit about closures (there’s a lot of stuff to talk about, scope, scope chain, execution context stack)
  15. How to implement a center layout (cliche)
  16. All kinds of weird CSS, I forgot the specific topic, CSS is not good anyway
The interview lasted for more than an hour. I thought I had hung up, but I was told to wait, so I went to the second interview.
  1. Talk about vUE data driven principle
  2. Let’s talk about vNode. Why do we use vNode? Let’s talk about diff
  3. Let’s talk about the difference between let and var
  4. You were talking about temporary dead zones. Tell me about temporary dead zones
  5. The difference between arrow functions and normal functions (this?)
  6. How to implement the all method of promise
  7. Let’s talk about the browser cache
  8. Js inheritance mechanism
  9. A little bit about closures
  10. Know which design patterns
  11. How do YOU implement a singleton
  12. Channels for acquiring knowledge (Nuggets, Github, official account, wechat group?)
  13. Have you ever done weex, RN or anything like that (no)
  14. Why didn’t you try the big factory?
  15. Do you know the front-end packaging tool (Webpack was only configured with the official website, not actually operated in the project)
The second interview lasted about 40 minutes. I thought I was going to leave, but I was told to wait a minute. Hr came.