preface

I haven’t been Posting anything for more than a month because I was in a job interview recently, so start with this summary and cheer up. Let’s talk about personal situation first, in fact, I started the formal interview from March, only A factory and Tencent, Tencent just sent A letter of intent in the afternoon, A factory at the beginning of the advance batch of 1688 and then go to the inside of taobao face without A follow-up 🐶. In fact, I did not have many interviews, but I would like to commend the interviewers of Tencent. They were very patient from 8:00 p.m. to 10:00 p.m. every time, which gave me the opportunity to experience the interview process completely. I also summarized some interview experience and changed my view of technical interview.

tips

Technical interviews are much more than technical by dish chicken

The environment

In order to guarantee a good condition, it is suggested that must be in a comfortable place to interview, I am very easy to environmental disturbance, below 1688 for the first time, I was inside the building, thought is the phone so I first went to tiantai, then to the written test, I’m in a hurry to find a self-study table to write, just a class at that time, very noisy, What’s more, there happened to be a big brother eating takeout on the other side. Under the gaze of the big brother and the interviewer, my mind was blank, so I did not play well. After that, my interview was conducted in the dormitory.

To introduce myself

Generally have so a normal interview, would you please do a simple introduce myself, this is only an open-book exam question, also is particularly important, the first impression is very important, even may influence your whole interview a towards (I feel), because the interviewer can through your introduction know the next ask you what, You can also know a general situation, so we should think about what to say before the interview to highlight one of their advantages, it is best to recite their own heart first, fluent self introduction is always good ~

self-confidence

Then is to be confident, do this actually is not simple, I give a little suggestion here, is when you have hired (🐶 cover with quilt son), then when the interview was just technical exchanges, and predecessors doing this do hh ~ that works for me, and then the interviewer will certainly be asked (ignore) great god, the areas in which you are not familiar with tell myself that’s all right, If you do not understand, ask ~ modestly

communication

It back to me the words the technical interview is more than just technology, it can be said to be I through these interviews concluded that one of the most important point, before, I always thought that technology, unlike other interview, interview should be and do test, the interviewer asked, I tell the answer, only objective right and wrong, but I suddenly found that I was wrong, Technical interview is also an interview. In fact, it is not very different from other interviews in essence. The core of the interview is actually “talking”, which is well explained by the English interview. If you were an interviewer, would you like to talk to a clicker 🐶? But goose, how inter? For example, 🌰, if the interviewer asks you a question about closures, you can expand on some of the design patterns that apply to closures, such as the module pattern commonly used by JS, and then simulate the private variable blabla… And then you can expand to JS modular development of blabla, this set of combinations go down, the interviewer say so ho! The young man is not bad, the foundation is quite stable! (Joking). Of course, you can’t be solo all the time so that the interviewer can’t get a word in edgewise, if you know what I mean.

Technical preparation

This is the most core, in fact, you can know from many places to a variety of interviews need to master a knowledge point, before the interview can look at the interview, but the interview is only a framework, more may still need to usual some accumulation, for the language foundation, Books + handwriting is the most real, about the JS foundation here to recommend “JavaScript Ninja Secrets” and Hou Ce’s “front-end development core knowledge advanced” I feel really good ~, other knowledge points are a lot of very miscellaneous, there is a very hot network map, you can learn as needed, (infringement of the words contact me delete)

My suggestion is that in their own projects to use these technology stack, learn not kui is, after all, learning stage, and practice while recording, (here I wept 😭 regret didn’t record a start OJ project), or for the front-end daily may be cut figure callback interface, learn something, with this in this era of rolls is unable to find work. Then it is to brush the questions, which depends on the preferences of the specific interviewer, but brushing the programming questions is always a great help to the confidence of the interview, here a Leetcode number of less than 30 people silently left tears, next time will be sure.

Tencent’s surface via

Technical side 110mins

On this side, the interviewer was a very polite big man. I accidentally interrupted him several times, but he said, “It doesn’t matter if you keep talking,” and he gave a lot of suggestions on projects and study, which was really nice and I gave them immediately after the interview

  • Make a brief introduction about yourself
  • Tell me about the project you worked on
  • Describe the difficulties in each of your projects
  • Describe how you overcame the technical difficulties of your project
  • Is the browser familiar?
  • Can you tell me how the browser renders
  • Do you know anything about opacity and z-index? About layers
  • Is there anything on the render tree page
  • And the browser asked a lot of questions and I kind of forgot 😹
  • Are you familiar with TS? What’s special about him compared to JS
  • Sass you like to use is it, what is it good, better than CSS, CSS can achieve these functions
  • React tells us the difference between stateless components and stateful components
  • Talk about React communication
  • Talk about the React lifecycle
  • Talk about the new features of Act16
  • Let’s talk about the React Diff strategy
  • Have you seen the React source code?
  • How does VD work?
  • How is the diff algorithm implemented? Have you implemented it yourself
  • Moving on to my project, your component library seems pretty good. Have you thought about how to optimize it
  • Do you know about anti-shock? Can you do that?
  • You know about anti-shaking, but how can I improve if I want to wait a few seconds to send a request?
  • I said that can be throttled, throttling how to implement implementation?
  • Did you use Promise? How did you use it?
  • Do you know how Promise is implemented, how asynchronous, how chain calls are implemented
  • You said you used setTimeOut when dealing with Promsie asynchrony. Do you know setTimeOut will not be correct? Do you know how setTimeOut is implemented?
  • Do you know XSS? How can you prevent it?
  • Cookie
  • What’s the difference between cookies and sessions
  • Localstorage and SessionStorage, indexDB
  • The request for security has been said for a long time, how do you background authentication?
  • Token? You know how he keeps it safe
  • Explain the process for using token authentication
  • Does the CSRF know what it is and how to prevent it?
  • You know what? Tell me about the trigger scene?
  • Then I asked my project, have you ever thought about how to optimize the component library? In addition to functions, I would like to give you some suggestions to expand the boundaries of use, such as WebComponent. Do you know AST…..
  • What are the differences between HTTP1.0, HTTP1.1, and Http2.0 optimized
  • What is multiplexing
  • Common status codes
  • HTTP and HTTPS
  • How to encrypt
  • Some questions about network requests
  • Do you know what multiplexing is
  • Do you know how block-level scopes are implemented from ES5 to ES6
  • Tell me what you know about closures
  • You know the function execution stack, do you free up memory if you have a closure in there and I gave you a couple of examples
  • Do you know anything about garbage collection, besides tag removal, reference counting
  • Finally, let’s go to the extension problem, the optimization of the white screen you say your idea, a little system, starting from the network request part
  • How do you usually study
  • Did you read anything
  • Are you at the forefront of interest studies
  • Have you been watching any new technologies lately

Ask link

Checked with the department

Then he asked how to become a qualified front end engineer

On the one hand, it seems that these points are probably long forgotten some specific problems

Two surface 80 mins

The interview was also a Tencent conference, but the interviewer did not show his face this time. He sounded very energetic ~ he asked about the project almost all the time, and then gave me a lot of advice (because it was too bad). The questions were very detailed, so you should be very familiar with your project

Also ask the

  • Where do you blog
  • Browser cache
  • How to solve cross-domain problems
  • Sso sso
  • git

I seemed to ask for something, but I did forget it. Then the interviewer said that the last interviewer said that I had a good foundation, and he thought that I had a good breadth of knowledge (I was flattered), and suggested that I could continue to dig deeper

Then he said that nothing was wrong and gave me an extension problem to design a tree component representing all employees of Tencent. He asked how to design the node and how to optimize it

And then asked when he could come for the internship

Then I asked about the main technology stacks and the new technologies that the department is currently focusing on, and arranged hr interview after the interview

Hr side

I don’t remember, but she was a little sister

  • How long can I practice?
  • Pros and cons (examples)
  • Have you read the source code?
  • Difficulties of the project
  • What is the technology stack
  • How are your grades?
  • Have you won any awards
  • Have you read the source code?
  • Have you used Vue and Angular? What are its advantages and disadvantages compared to React
  • Graduate school? Why?
  • Future direction
  • Do you have any other offers?

4.7 received the offer

I could only shiver at school when I saw that the Kings of Curly were ready to be inducted