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 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)
- Set (O (n^2)), indexOf (O (n^2)), es6 (O (n^2)), es6 (O (n^2)), es6 (O (n^2))
- 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)
- Talk about the principle of vUE bidirectional binding (here from the source level for more than 10 minutes, should be good)
- What ES6 features have you used (let,const, template string, promise, arrow function, etc.)
- What does promise solve
- If you were asked to implement a promise, how would you implement it?
- Are you familiar with async, await?
- What about the generator
- A little bit about XSS (sorry, security, not much)
- Have you learned about WEEx and RN? (No, I have only worked on PC at present.)
- Node (no)
- 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)
- Let’s talk a little bit about closures (there’s a lot of stuff to talk about, scope, scope chain, execution context stack)
- How to implement a center layout (cliche)
- 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.
- Talk about vUE data driven principle
- Let’s talk about vNode. Why do we use vNode? Let’s talk about diff
- Let’s talk about the difference between let and var
- You were talking about temporary dead zones. Tell me about temporary dead zones
- The difference between arrow functions and normal functions (this?)
- How to implement the all method of promise
- Let’s talk about the browser cache
- Js inheritance mechanism
- A little bit about closures
- Know which design patterns
- How do YOU implement a singleton
- Channels for acquiring knowledge (Nuggets, Github, official account, wechat group?)
- Have you ever done weex, RN or anything like that (no)
- Why didn’t you try the big factory?
- Do you know the front-end packaging tool (Webpack was only configured with the official website, not actually operated in the project)