Shuangfei slag was not satisfied with the salary of 15k and resigned before the year. After the year, he swiped the interview questions to check the vacancies and finally got the Tencent offer to increase the salary to 30k.

foreword

Shuangfei scumbag, after 2 months of preparation, Tencent successfully landed the interview! Share a wave of my interview experience, and at the end of the article, I shared the preparation resource library I prepared for the interview, including source code notes, interview questions of major manufacturers, job-hopping analysis, resume analysis, project actual combat source code + video + notes, friends who need it Available at the end of the article.

Tencent side

1.mmap + native log optimization?

2. What is the difference between broadcasting and EventBus?

3. What do you know about common design patterns?

4. What are the cross-process communication?

5. Briefly talk about the binder driver?

6. How to pass large memory data across processes?

7. Talk about the implementation principle of ConcurrentHashMap, what is the initialization size?

8. How to optimize startup optimization?

9. How did you implement the rxpay and rxlogin you wrote?

10. kotlin + fullter

Tencent two sides

1. The singleton design pattern is all written, how does the static inner class ensure thread safety?

2. The underlying implementation principle of synchronized, ReentrantLock fair lock and unfair lock.

3. How can the main thread wait for all threads to finish executing before executing a specific task? Have you read the principle and source code?

4. The general process of customizing the view, what should be paid attention to, how to optimize it, and how to realize the click event and long-press time respectively?

5. What are the principles of the four startup modes in the source code analysis?

6. Talk about the process of bindService. How did you optimize the background service process?

7. What design patterns have you used in your development? Talk about the specific scene at that time. Why would you use a method factory over the other two?

Tencent three sides

1. Tell me about the underlying implementation principle of handler?

2. Tell me about the logging optimization you did?

3. You have seen the source code of the binder driver, talk about its memory mapping process, and talk about the process of the client waiting for the server to process and return. If you want to transfer large memory data across processes, what would you do? Just write it.

4. What optimization has been done in the company?

5. Some of the most difficult problems to solve during the process?

6. It is mentioned that dynamic repair replaces loading so, do you know how to repair class? How to repair resources?

7. Anything else to ask?

Learn about learning

During this period of time, I kept looking for materials to study, and through many channels and friends, I asked for a copy of "Analysis of High-Frequency Interview Questions in Android Manufacturers" written by Alibaba P8 bosses. The factory's interview scenes and interview questions constantly improve themselves.

Share some of my personal learning documents, and friends in need can choose to get them:

The real interview questions of the big factory (all kinds of channels got through all kinds of hard work)

Since it is an interview, it is necessary to brush the questions. I have brushed a lot of interview questions myself, so I can know what I know during the interview process. Basically, I will know what knowledge points will be asked during the interview process. High frequency What are the questions, so brushing the questions is a very important point in the pre-interview preparation process.

I was crazy about the real interview questions of these big companies, and I improved myself a lot.

Spring Interview Topics

Dachang Interview Real Questions Series
insert image description here

Summary of interview questions of the latest Android middle and senior manufacturers in 2022
Please add image description

method of obtaining:

All the information in this article can be obtained for free by scanning the CSDN official certification QR code below! ! !

finally

Many people sigh that "learning is useless". In fact, the reason for the theory of uselessness is that what they want does not match what they have learned, which means that they have not learned enough. Whether studying or working, you should have the initiative, so if you have the dream of a big factory, you must work hard to realize it.

——The above learning materials are all free, and finally I wish you all the best of luck in getting your favorite offer!

Guess you like

Origin blog.csdn.net/datian1234/article/details/122987701