Tencent hung up when I interviewed for the first time, but I learned a lot from it

Today is 2020.04.18. I interviewed Tencent for the first time. Since I have recently offered to resign and got a satisfactory offer, I was not very nervous when I met Tencent this time.

The interview time was called at 10 o'clock the night before. Next, we will enter the topic and talk about the interview process.

This interview is a video interview adopted by Niuke.com. First of all, let me introduce myself. I probably talked about my basic information and resume and the technology stack I mastered. The interviewer typed out a question on Niuke.com and let me implement it in code. The question itself is very simple, that is, the two numbers a and b are interchanged and no additional variables are introduced. I read this question right after I graduated, but after four years, I can't remember it clearly. After thinking about it, I wanted to write a solution for a = a+b, b=ab, a=ab, and then say it The disadvantage of this solution is that it may cause overflow. However, the XOR solution is not written , and this follow-up summary will be written. Then came a question about flipping numbers? If you don't have a good idea, you can say no. I basically declared that this interview must be hung up here, but this interviewer is very good, and I chatted with me about the next project. Then I chatted with me about my follow-up plan, and in the process of chatting, I started to tell me what they were doing. In fact, it was a bit of persuasion, that is, the demand did not meet.

Finally, he summarized my interview and talked about his feelings as an interviewer. On the one hand, I have to work harder on data structures and algorithms. As an interviewer, he told me about their questions about writing code. expected:

  1. Completely out of ideas;
  2. There are ideas, but they will not be realized;
  3. There are ideas, can be achieved, but not the optimal solution;
  4. There is a better solution but cannot be realized;
  5. If there is an optimal solution, the code will be implemented smoothly;

The solution given in my first question only gave 60 points, and the XOR solution can be written up to 70 points, and the two can be written concurrently to illustrate the advantages and disadvantages of up to 90 points. For the second question, I just gave up the treatment, saying that there is no idea, which is basically a game over.

So his suggestion is, even if you don’t have the best solution, you still have to state your idea of ​​realization, that is, at least do the second one. I believe that most people can do it. Give up the treatment when you see that it is not possible, and tell the method you can think of, even if the realization is very low.
The candidates expected by the interviewer are those who can reach the fourth and fifth situations.

My final question is, I want to join Tencent, from what aspects should I improve myself?

His answer: First of all, he emphasized that Tencent's current demand for java, go, python, etc. is still relatively large, not only c++ as rumors outside. At present, many departments of Tencent have java demand, mainly engaged in java web background development, hadoop big data technology stack, and intelligent analysis algorithm posts, all of which are related to java. You are still young, and I didn't join Tencent as soon as I graduated, so I must be good at a certain module and have my own understanding. For example, if you have the secondary development experience of the relevant underlying source code, you can expand on the open source technology. For example, the spring framework is mainly used as a rapid development framework. There is no need to study in depth. It needs to be combined with business requirements. For example, kafka, docker and other technologies need to be studied in depth to form their own advantages. It is refreshing to say that this is a technical barrier. , Is also a suggestion for your future development direction.


Although the first interview with Tencent was hung up today, I think this interview has been a very good experience for me and has grown a lot. The next areas that need to be improved:

  1. Do leetcode often, and be familiar with data structures and algorithms, this is the foundation;
  2. Think clearly about your own direction, combine the needs of the target company, and study a certain technical module in depth, and have a deeper understanding of your own. You are better than others to achieve this.

Thank you to this Tencent interviewer. Although I do not meet the company's requirements, I am very patient in guiding me to answer questions in the process. I chatted for about 40 minutes. It has made me great gains, clearer goals, and a firmer path in the future. . Come on

Guess you like

Origin blog.csdn.net/taurus_7c/article/details/105598914