Sad! For both non-undergraduates, it took two months to dig through this Tencent internal Java interview question bank and finally got Ali offer!

He finally got Ali's offer as he wished, and it took him two months.

His personal situation

He is an ordinary dual-non-undergraduate student who has been developing for more than 4 years (Java back-end). He usually learns more diligently and asks questions. He is also extremely serious and responsible for his work. He is very confident about entering a large factory. His direction It's Java, and I know that the competition in Java is fierce, and it is difficult for big manufacturers to enter. For this reason, he also started preparations a long time ago. Today, he has successfully obtained Ali's offer under internal push!

His interview experience:

Although Tmall, Antjin, and Cainiao are all under the umbrella of Ali, the questions asked by each interviewer are different, and the same points are mainly in the process. At the beginning of the interview, I will introduce myself, the main business architecture and technical architecture.

For example, in the technical architecture part, we will ask questions based on the technical points mentioned in the self-introduction, why we used these technologies, what problems we solved, what difficulties we encountered, and how we thought about and solved them.

Finally, by the way, there are some underlying design issues of the technology itself, such as: with redis, what scenarios will be asked, what problems have been solved, how much data is, what problems have occurred in the process of use, how to locate and solve them, and Its hash principle, etc., and so on.

Reminder: The interviewers like to ask about mq, jvm, multithreading, lock mechanism, etc.

He finally got Ali's offer as he wished, and it took him two months.

Regardless of the technical point, the interviewer will not be able to answer this question, or the computer hardware will pass. The interview situation is as follows:

01, the technical side

Scope of investigation: The focus is on Java thread locks: the underlying implementation of synchronized and ReentrantLock, the underlying implementation of thread pools and common parameters, and the data structures are basically asked again: linked lists, queues, etc., Java memory model: frequently asked JVM points Generation model, and the difference after JDK1.8

Finally, I asked about the tuning parameters related to JVM, and the implementation of distributed locks.

  1. Self introduction
  2. What kind of technology are you good at?
  3. What types of locks does Java have? (Optimistic locks & pessimistic locks, reentrant locks & Synchronize, etc.)
  4. Basic understanding and general implementation of more important data structures, such as linked lists, queues, and stacks
  5. Use of common classes under the JUC. In-depth investigation of ThreadPool; use of BlockingQueue
  6. Java memory generation model, GC algorithm, common startup parameters of JVM; CMS algorithm process.
  7. What is the use of the volatile keyword (including the underlying principles)
  8. Thread pool tuning strategy
  9. How is service registration and discovery designed for Spring Cloud?
  10. How to realize the global id of the distributed system
  11. For the distributed lock scheme, which is better, redis or zookeeper, if it is a cluster deployment, which performance is better under high concurrency.

02, two sides of technology

Scope of investigation: asked about project-related technical implementation details, database-related: index, underlying implementation of index, mysql-related row locks, table locks, etc., redis-related: architecture design, data consistency issues, container: container design principles, etc.

  1. Participate in the project, choose one, what is the technical difficulty?
  2. Collections.sort underlying sorting method
  3. Principles of load balancing
  4. Design patterns and refactoring, talk about your understanding of refactoring
  5. What are the mature solutions for Redis-related clusters?
  6. Let's talk about-to hash algorithm (redis)?
  7. Database index, characteristics of B+ tree and tree building process.
  8. mysql related row locks, table locks; optimistic locks, pessimistic locks
  9. Talk about the use of multithreading and concurrent tools
  10. Talk about the architecture and components of Redis
  11. Redis data consistency problem (distributed multi-node environment & single machine environment)
  12. docker container

03, three aspects of technology

Scope of investigation: It mainly talked about the high-concurrency implementation scheme and the architecture design ideas of middleware: redis, rocketmq, kafka, etc., and finally asked how to improve the technology in normal times?

  1. In the case of high concurrency, how does the system support a large number of requests?
  2. Then the above question extends to middleware, design ideas and applicable scenarios such as kafka, redis, rocketmq, mycat, etc.
  3. Which technology sites have been on recently; which books have been read recently.
  4. How to overcome the biggest challenge in work and life?
  5. What are your plans for the future

04, four sides

Scope of investigation: What you know is that the HR process is mainly about the future career plan.


Conclusion: During the six months of preparations, I myself have been constantly looking for materials to learn, and through many channels and friends I want to get a copy of the latest learning materials for Java post

He finally got Ali's offer as he wished, and it took him two months.

The focus is to recommend to everyone. The Java post interview question bank in this information contains Java back-ends and interview scenes and interview questions from some major companies. I also continue to brush the questions to improve my vision

 

Java post technical interview question bank (5000+ interview questions)

There are many modules in this question bank: Java basics, container, multithreading, reflection, object copy, Java Web module, exception, network, design pattern, Spring/Spring MVC, Spring Boot/Spring Cloud, Hibernate, Mybatis , RabbitMQ, Kafka, Zookeeper, MySql, Redis, JVM...

He finally got Ali's offer as he wished, and it took him two months.

 

method of obtaining:

Forward + follow + private message [ebook]!

Guess you like

Origin blog.csdn.net/m0_46757769/article/details/108965387