Four years of Java development, Simian Meituan (Java Basic + Multi-Threading + JVM + Database + Distributed) has obtained an offer, and we have shared it

Java has been developed for more than 4 years, and delivered senior Java positions from various Internet companies such as Ali, Tencent, Toutiao, Meituan, JD.com, etc., and finally got an interview opportunity from Meituan, and successfully won the offer of Meituan's senior Java post. Meituan’s Java post is on all sides, the first three are technical, the fourth is HR, and the following are the interview questions!

Meituan Java post side (technical, telephone, about 40 minutes)

  1. Self introduction.
  2. Project Introduction.
  3. Have you understood the redis source code and redis cluster?
  4. How does redis guarantee thread safety in distributed mode?
  5. The principle of Hashmap, source code?
  6. How does the back-end data structure shift in the case of Hashmap additions and deletions?
  7. Why is the hashmap capacity a power of 2?
  8. Do you know the method of the object class?
  9. Have you rewritten hashcode and equals, what should you pay attention to?
  10. JVM memory partition, why should there be a new generation and an old generation?
  11. Have you done JVM memory optimization?
  12. What is the difference between a database index primary key and a unique index?
  13. The difference between clustered index and non-clustered index?
  14. The difference between MySQL storage engine innoDB and MyISAM?
  15. Tell me about the stable sorting algorithm and the unstable sorting algorithm?
  16. Tell me about the idea of ​​quick sort?

Meituan Java post two sides (technical test, about 60 minutes)

  1. What are the differences between several thread pools?
  2. Understanding of aio, nio and bio, what are the core concepts of NIO?
  3. What are the commonly used NIO frameworks, their advantages and disadvantages?
  4. The four isolation levels of transactions?
  5. Jvm scene problem, memory fragmentation occurs in the old generation after the mark is cleared many times, causing full gc. What problems may happen next?
  6. What is the difference between MySQL innodb's b+ tree index, primary key index, and clustered index?
  7. Four major characteristics of the database?
  8. What kind of locks, row locks, table locks, and optimistic locks are there in MySQL?
  9. Here are two examples of how MySQL's deadlock occurs.
  10. What does the zookeeper in dubbo do?
  11. Table lock, row lock, optimistic lock, pessimistic lock, characteristics and differences?
  12. What are the concurrency toolkits and how to use them?
  13. How is Docker usually used?
  14. How does Kafka solve data accumulation?
  15. Kafka message storage mechanism?
  16. How to use Kafka to ensure the orderliness of messages?
  17. How does Kafka ensure that messages are only consumed once under concurrent conditions?

Three sides of the Meituan Java post (technical side, about 60 minutes)

  1. Project Introduction.
  2. For the most technically difficult projects, introduce the relevant core design process.
  3. How does redis guarantee thread safety in distributed mode?
  4. The way and difference of redis persistence?
  5. How does zookeeper implement distributed locks and how to implement other distributed locks?
  6. Kafka's architecture, how to use Kafka to ensure the orderliness of messages?
  7. What does the optimization of the database include? MySQL optimization, talk about two examples of your optimization.
  8. Which version of redis is used?
  9. How to build a redis cluster?
  10. How does redis master-slave synchronization?
  11. Precautions for redis distributed locks?
  12. The way and difference of redis persistence?
  13. Redis persistence method and difference?
  14. What is the amount of data in my sql that needs to be divided into tables?
  15. What storage engines are commonly used in my sql and their differences?
  16. The role of zookeeper: distributed lock, registration service center?
  17. How does zookeeper implement distributed locks and how to implement other distributed locks?
  18. Solutions for distributed transactions?
  19. How to achieve single sign-on?
  20. How to realize the spike system?
  21. At work, if you encounter a technical bottleneck that cannot be resolved, what is your solution?
  22. In terms of technology selection, how would you choose between a new technology and a stable old technology, and what factors would you consider?

Meituan Java post on all sides (HR interview, about 30 minutes)

  1. Introduce yourself.
  2. Own strengths and weaknesses.
  3. Why do you want to come to Meituan and how much do you know about Meituan?
  4. Sort of Internet companies in mind.
  5. How did you deal with problems that could not be solved temporarily at work?
  6. What new technology are you learning recently
  7. What path and method did you use to learn and get in touch with a new technology?
  8. What is your future career plan?
  9. Communication position and salary: omitted here...

to sum up

All interview questions are not static. For big companies like Meituan, the actual interview questions above are just a reference for everyone. The most important thing is to increase your knowledge reserve and be prepared.

Finally, I will share with you:

Java has been developed for more than five years. I delivered senior Java positions from various Internet companies such as Ali, Tencent, Toutiao, Meituan, JD.com, and finally got an interview opportunity from Meituan, and successfully won the offer of Meituan's senior Java post. Meituan’s Java post is on all sides, the first three are technical, the fourth is HR, and the following are the interview questions!

Meituan Java post side (technical, telephone, about 40 minutes)

  1. Self introduction.
  2. Project Introduction.
  3. Have you understood the redis source code and redis cluster?
  4. How does redis guarantee thread safety in distributed mode?
  5. The principle of Hashmap, source code?
  6. How does the back-end data structure shift in the case of Hashmap additions and deletions?
  7. Why is the hashmap capacity a power of 2?
  8. Do you know the method of the object class?
  9. Have you rewritten hashcode and equals, what should you pay attention to?
  10. JVM memory partition, why should there be a new generation and an old generation?
  11. Have you done JVM memory optimization?
  12. What is the difference between a database index primary key and a unique index?
  13. The difference between clustered index and non-clustered index?
  14. The difference between MySQL storage engine innoDB and MyISAM?
  15. Tell me about the stable sorting algorithm and the unstable sorting algorithm?
  16. Tell me about the idea of ​​quick sort?

Meituan Java post two sides (technical test, about 60 minutes)

  1. What are the differences between several thread pools?
  2. Understanding of aio, nio and bio, what are the core concepts of NIO?
  3. What are the commonly used NIO frameworks, their advantages and disadvantages?
  4. The four isolation levels of transactions?
  5. Jvm scene problem, memory fragmentation occurs in the old generation after the mark is cleared many times, causing full gc. What problems may happen next?
  6. What is the difference between MySQL innodb's b+ tree index, primary key index, and clustered index?
  7. Four major characteristics of the database?
  8. What kind of locks, row locks, table locks, and optimistic locks are there in MySQL?
  9. Here are two examples of how MySQL's deadlock occurs.
  10. What does the zookeeper in dubbo do?
  11. Table lock, row lock, optimistic lock, pessimistic lock, characteristics and differences?
  12. What are the concurrency toolkits and how to use them?
  13. How is Docker usually used?
  14. How does Kafka solve data accumulation?
  15. Kafka message storage mechanism?
  16. How to use Kafka to ensure the orderliness of messages?
  17. How does Kafka ensure that messages are only consumed once under concurrent conditions?

Three sides of the Meituan Java post (technical side, about 60 minutes)

  1. Project Introduction.
  2. For the most technically difficult projects, introduce the relevant core design process.
  3. How does redis guarantee thread safety in distributed mode?
  4. The way and difference of redis persistence?
  5. How does zookeeper implement distributed locks and how to implement other distributed locks?
  6. Kafka's architecture, how to use Kafka to ensure the orderliness of messages?
  7. What does the optimization of the database include? MySQL optimization, talk about two examples of your optimization.
  8. Which version of redis is used?
  9. How to build a redis cluster?
  10. How does redis master-slave synchronization?
  11. Precautions for redis distributed locks?
  12. The way and difference of redis persistence?
  13. Redis persistence method and difference?
  14. What is the amount of data in my sql that needs to be divided into tables?
  15. What storage engines are commonly used in my sql and their differences?
  16. The role of zookeeper: distributed lock, registration service center?
  17. How does zookeeper implement distributed locks and how to implement other distributed locks?
  18. Solutions for distributed transactions?
  19. How to achieve single sign-on?
  20. How to realize the spike system?
  21. At work, if you encounter a technical bottleneck that cannot be resolved, what is your solution?
  22. In terms of technology selection, how would you choose between a new technology and a stable old technology, and what factors would you consider?

Meituan Java post on all sides (HR interview, about 30 minutes)

  1. Introduce yourself.
  2. Own strengths and weaknesses.
  3. Why do you want to come to Meituan and how much do you know about Meituan?
  4. Sort of Internet companies in mind.
  5. How did you deal with problems that could not be solved temporarily at work?
  6. What new technology are you learning recently
  7. What path and method did you use to learn and get in touch with a new technology?
  8. What is your future career plan?
  9. Communication position and salary: omitted here...

to sum up

All interview questions are not static. For big companies like Meituan, the actual interview questions above are just a reference for everyone. The most important thing is to increase your knowledge reserve and be prepared.

Regarding the answers to the interview questions mentioned in the article, I have compiled them here into a PDF of the interview topic, and there are small partners who want to get it (see the end of the article)

 

Guess you like

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