In 2018, I have been working for nearly two years, and I have met several big factories during the spring recruitment. Now I record the interview journey.
Meituan
When I went to meituan for an interview, I happened to ask a classmate of meituan on the way. She was very friendly and took me up directly, haha.
- One side
First of all, I explained some projects I had done, and then the interviewer focused on my explanation and asked some questions: CSS box model and animation, website theme implementation scheme, small program webview in jS-SDK can do what can not do, iOS input can not automatically focus. This kind of project-based question, as long as the project is done by myself, and have a deep impression of the answer should be said to send points
- Second interview
Project difficulties encountered and how to solve them? What kind of person do you want to be with? Why did you change your job? What qualities do you think make a good person? What do you consider your strengths and weaknesses? Obviously this is the style of the technical manager, this side of the chat for a long time, it can be seen that it is still more satisfied
- Hr side
How was your interview? How would you rate yourself? A: 80, what is the major difference of 20 points? Have you downloaded our app? Are there any channels to know us? A HR,
Meituan was very straightforward. When I interviewed Tencent the next day, meituan gave me a reply, which was a pretty good offer
tencent
- One side
CSS model, Grail layout and variation, JS prototype chain, hand-written code to implement event delegate and closure, map function written in the code, so it requires hand-written implementation of a map function, VUE implementation principles, react and Vue differences, HTTP response headers/status codes, HTTP caching, cross-domain solutions, performance optimization, Site security and so on there are a lot of, in general, more comprehensive investigation, theory + practice
- Second interview
First of all, I explained my own projects and asked a lot about one of them. Then we discussed the Modulesconcat nginx plug-in of Taobao together. After that, I also asked about the Vue Diff algorithm, the encryption algorithm used in HTTPS and the SSL handshake process
- On three sides
Director interview, project explanation, difficulties and highlights, team size and PV, reasons for changing jobs
- All around:
Project explanation, in-depth questioning of the problems I mentioned in the project, website security, etc
Tencent’s oral offer was given very quickly, a few days later. However, we all know the process of big factory: it takes a week to approve the offer, two weeks to adjust the offer, and more than a month
At that time, BECAUSE I had already got the offer of Meituan, I felt that the interview of Tencent was also promising, so I did not plan to continue the interview. Later, CONSIDERING various factors, I still went to chat.
headlines
- One side
-
Give you a piece of code, ask output? The event loop mechanism of JS is investigated
-
Implement the following event delegate functions by hand
function delegate(parent, selector, handle) {}
- Handwritten implementation
inherit
function - Handwritten implementation
throttle
function - Algorithm problem, handwritten implementation
- CSS implements adaptive squares
- Do you have any questions?
- Second interview
-
Algorithm problem, handwritten implementation
-
Implement a repeat function, primarily the application of closures
-
Please explain what XSS and CSRF are and how they are related. How to defend?
-
We usually adopt the following methods to improve front-end loading performance. Please explain why these methods are adopted respectively. What other tools do you use besides the following?
Static resource merging/static resource loading through CDN and using multiple domain names/HTTP caching mechanism
- What WebPack plug-ins have you written?
- Do you know anything about software design/design patterns?
- What do you think about technology selection?
- Is there anything I haven’t asked you that you want to talk to me about?
- On three sides
- Introduce the project
- If you needed to design a Dialog, how would you design it? What are the apis?
- If I need to design a drag-and-drop dialog, how do I do it? Handwritten code
- Implement array.prototype. trim by hand and write a test case for me
- What are your criteria for doing a good job?
- Is there anything you want to talk about?
- HR side
General questions, advantages and disadvantages, reasons for changing jobs, offer in hand, expected salary, and finally introduced me to the culture and welfare of the next headline
The headline is that a lot of handwritten code, constantly asking you to write code, is the basic function + algorithm. However, the headline offer is the most satisfactory overall
Wei to
- One side
CSS foundation, box model and Holy Grail layout, BFC, JS prototype chain, Event Emitter was mentioned in the project explanation, so I asked me to realize site performance optimization by writing codes. Finally, I asked an algorithm question, and realized it by writing
- Second interview
CSS implementation of single line interception, multi-line interception, tag display, development tools, the view of the front end, the current focus on new technology areas
- On three sides
Director asked a programming problem, handwritten code (in fact, the tree traversal, the recursive and non-recursive implementation), and then asked the perception of wei to talk about a lot of truth in life, with a n experienced person to tell me to do technology as simple as possible, get things done, there are paid in line with their expectations, other will naturally follow, deep thinking
- Hr side
The reason for changing the job, the situation of the offer in hand, and the expected salary. If I send you the offer, will you still go to see the opportunity of BAT?
Nio is very talented, offer with some options.
conclusion
- Interview questions
You will notice that the interview questions above are basically js and CSS basics + handwritten code + some other soft power investigation, and there are few questions about vUE/React framework, so it shows that the front end of the big platform still pays more attention to the basics. About the framework I think so: the framework is changing very quickly, learning framework more, you will find a lot of similarities, and learning framework must not stay on THE API is the need to study the source code, understand the subtlety inside, so as to feed the basic knowledge, improve the overall programming level and design level. I recommend starting with underscore to read and master the methods inside the handwritten implementation.
This interview is about the years of effort and practice their effect test, once went out to see, find yourself a year to grow very fast, usually pay attention to the foundation, in-depth study of the problem, some of the things you want to just dig in and practice more, to pull lines from the last into the method of study is really quite good, remarkable effect.
The above interview questions are written from memory only, and there may be omissions. Thank you for reading.
push
PS: Is there anyone who wants to be a colleague of Toutiao? I can help you make internal promotion. There is still a large demand at present.