Tencent Five Sides and Kuaishou Three Sides have taken offers (Java positions) to share personal experience

Self introduction

One Zhashuo, almost two years after graduation.

Interview

ready

Brush questions

Brushing questions is not necessary. Such as China Merchants Bank and Alibaba. During my interview with Alibaba, I really didn't do one question. So for students who have a target company, you can make targeted preparations .

resume

I think writing a good project experience has the following principles:

  • You must be responsible for every word on your resume
  • Please use data to support the project experience. For example, you have done a server-side application interface optimization, then what work have you done to improve QPS from how much to how much?
  • Every project experience must have a bright spot, at least you think it is bright. If you really can’t think of a bright spot, you can borrow something from others to make a bright spot. The premise is that you can make it clear.
  • You should be able to talk clearly about your work. In this era of division of labor and cooperation, there are basically no projects that can be produced by themselves. So focus on that part of yourself

Face Sutra

Tencent

Tencent has faced a total of 5 rounds. In fact, I asked my classmates to help push Weishi, but the resume was left to QQ Music for some reason.

one side

  1. Big data problem. Given 4G memory and 1.6 billion QQ numbers, these QQ numbers have duplicates, and find the top 100 QQ numbers with the number of repetitions.
  2. After talking about microservices, how does service registration discovery work? How is the monitoring of microservices done?
  3. Implement a thread-safe blocking queue.
  4. Given two arrays, there are repeated numbers in each array. Sort these two arrays without using library functions.
  5. What is multiplexing? how to use?
  6. What is the file node in Linux? (This is not very good)
  7. Talk about the project structure

Two sides

  1. Given an array, find all sub-arrays of the array
  2. Remove all spaces in a string (send sub-question)
  3. Two systems A and B. If A timeout occurs when A calls B, A will try again at this time, so how to ensure that B is only called once?
  4. How is the database sub-table in the project done?

Three sides

  1. Given an array, the size of the elements is 0-25, there are repeated elements. All numbers are output according to the frequency of occurrence.
  2. Talk about how the RowKey of HBase in the project is designed?
  3. How are transaction messages in the project done?
  4. What do you think about overtime? Said you can 996

All sides

  1. Given a binary tree, print out each row in turn.
  2. Talk about Redis zset? What is the realization principle? Why not implement it with red-black trees?
  3. How does the redis sentry elect the master node?
  4. Why is the arrival time of IP packets different?
  5. What do you want to ask me?

Five sides

I really have forgotten what to talk about. Soon, there was nothing about technology. After chatting, why do you want to change jobs? And own career plan

quick worker

one side

  1. leetcode 2
  2. Self introduction
  3. Thread pool implementation principle, usage
  4. JVM memory structure, garbage collection mechanism
  5. Synchronized locking principle. Bias lock, lightweight lock, heavyweight lock.
  6. AQS principle. Fair locks and unfair locks.
  7. When does MySQL index fail?
  8. RocketMQ produces messages, stores messages, generates indexes, and consumes messages.
  9. ConcurrentHashMap expansion algorithm
  10. What do you want to ask me?

Two sides

  1. Find all prime numbers in N;
  2. Given a random array, find the largest continuous number in the array;
  3. Self introduction
  4. Chat project. What are the difficulties in the project? How to solve it, I talked about the tuning of RocketMQ
  5. Distributed ID implementation, UUID is not allowed
  6. MySQL gap lock mechanism? What is the main problem to be solved?
  7. How to study in spare time?
  8. What do you want to ask me?

Three sides

  1. Talk about the project, the role of redis, and the design of HBase RowKey. What did the project mainly do? What's the difficulty?
  2. Leetcode 146
  3. Leetcode 470
  4. What do you want to ask me?

to sum up

Finally, I got offers from Zhaoyin, Tencent, and Kuaishou. The interview with Ali was hung up, and the interviews with Likes and Oppo were all pretty gods. I was hung up for 5 minutes after I was praised. Oppo faced me for a round. I felt that the chat was good, and then there was no more. Finally went to Kuaishou.

share it

Finally, the editor compiled a list of learning materials related to Java interviews and advancement, and the small partners needed (obtained at the end of the article)

 

java interview questions and real questions

 

Lots of e-books

 

 

Guess you like

Origin blog.csdn.net/bjmsb/article/details/109598081