The school recruitment failed. After two years of struggling in a small company, I finally stopped working in Ali, graded P6 (Java post), shared experience + learning materials

In fact, two years ago, when the school recruited, I submitted a resume to Ali. The result was obviously cold. Then this ideal was temporarily put down, but this seed has been buried in my heart.

In the past two years, in addition to work, I also insisted on blogging, so I met a lot of excellent friends. I learned a lot from them. I shared this interview and hoped to help more people.

The school recruitment failed. After 2 years in a small company, I finally joined Ali, graded P6 (Java post)

 

I will share a copy of the review materials before the interview and the answers to these interview questions.

One side (remote video side)

  1. Self introduction
  2. Project Introduction
  3. Introduction to Redis
  4. Know the redis source code
  5. Know the redis cluster
  6. The principle of Hashmap
  7. Why hashmap capacity is a power of 2
  8. Source code of hashset
  9. Object class methods you know
  10. hashcode和equals
  11. Have you rewritten hashcode and equals? What should you pay attention to?
  12. Suppose there is a student class with a student ID and name. When I rewrite the hashcode method, only the student ID is involved in the calculation. What will happen?
  13. Put a student object into the set, then change the student ID of the student object, and then put it in. Can it be put into the set? And tell why
  14. Redis persistence? What are the ways and the principle?
  15. Talk about stable sorting algorithms and unstable sorting algorithms
  16. Talk about the idea of ​​quick sort

I deliberately sorted it out. There are many questions that can not be clarified by a few sentences, so I sorted them into a document to answer these interview questions. Many questions actually have simple answers, but the thinking and logic behind them are not simple.

Two sides (site)

  1. Self introduction
  2. Talk about the acid of the data
  3. What is consistency
  4. What is isolation
  5. Mysql isolation level
  6. How each isolation level is solved
  7. Mysql needs to add nextkey lock, how to write the statement
  8. Java memory model, garbage collection
  9. Thread pool parameters
  10. Explain each parameter
  11. Then the interviewer set up each parameter, gave a thread, and described the complete thread pool execution process
  12. What is the difference between Nio and IO
  13. The difference between Nio and aio
  14. How to implement Spring's aop
  15. What are the implementation methods of Spring's aop
  16. The realization and difference of dynamic proxy
  17. Does Linux know?
  18. How to check system load
  19. If the parameter of Cpu load is 4, describe the current situation of the system
  20. Linux, command to find the largest file on disk
  21. Linux, how to view system log files
  22. Hand tearing algorithm: Leeetcode original question 22, Generate Parentheses, given n pairs of parentheses, please write a function to generate a new combination of parentheses and return all the combined results.

Three sides

  1. Talk about the Java memory area.
  2. What is a distributed system?
  3. What aspects would you consider for distributed systems?
  4. Why is the TCP/IP protocol unreliable?
  5. What are the seven-layer models of OSI? Which four-layer model is TCP/IP?
  6. Let me talk about the three-way handshake and four-way wave process of the TCP protocol.
  7. Why is TCP a three-way handshake for establishing a connection, but a four-way handshake for closing a connection? Why can't I connect with two handshake?
  8. Why does the TCP TIME_WAIT state need to wait for 2MSL before returning to the CLOSED state?
  9. What are DoS, DDoS, DRDoS attacks? How to defend?
  10. Describe the Java exception hierarchy.
  11. What are checked exceptions, unchecked exceptions, runtime exceptions? And give examples to illustrate.
  12. Will the finally block be executed?
  13. Under normal circumstances, when a return statement is encountered in a try block or a catch block, will the finally statement block be executed before or after the method returns?
  14. The execution order of try, catch, and finally block.
  15. In the Java virtual machine, what types of data can be divided into?
  16. How to understand stack and heap? What's in the heap? What is stored in the stack?
  17. Why distinguish between heap and stack? Isn't it possible to store data in the stack?
  18. In Java, what is the starting point of the stack and also the starting point of the program?
  19. Why not put the basic types in the pile?
  20. What about passing values ​​when passing parameters in Java? Or pass by reference?
  21. Is there a concept of pointers in Java?
  22. In Java, what parameter is used to set the stack size?
  23. How much space does an empty Object object occupy?
  24. What are the types of object reference types?
  25. Talk about the garbage collection algorithm.
  26. How to solve the problem of memory fragmentation?

Before going to interview with your favorite company, I suggest that you practice your hands first. I first went to Meituan and Kuaishou, and I would bring a recording pen every time, so that I could find my mistakes and correct them more quickly. Basic , social recruitment also emphasizes basics, but it is more about investigating projects . Some of the above questions may be very simple, but the interviewer will dig deep in some points.

Before the interview, the editor also prepared for a long time. The first is mainly for reading e-books, learning notes and videos, and the latter is the real interview questions. Here, the editor can share a wave with you, and interested friends can forward and follow the background private messages. 【Notes】Free collection

 

My study notes

Redis high-frequency interview questions (with answers)

 

The school recruitment failed. After 2 years in a small company, I finally joined Ali, graded P6 (Java post)

 

The school recruitment failed. After 2 years in a small company, I finally joined Ali, graded P6 (Java post)

 

redis combat

 

The school recruitment failed. After 2 years in a small company, I finally joined Ali, graded P6 (Java post)

 

The school recruitment failed. After 2 years in a small company, I finally joined Ali, graded P6 (Java post)

 

The school recruitment failed. After 2 years in a small company, I finally joined Ali, graded P6 (Java post)

 

Mysql frequent interview questions (with answers)

 

The school recruitment failed. After 2 years in a small company, I finally joined Ali, graded P6 (Java post)

 

The school recruitment failed. After 2 years in a small company, I finally joined Ali, graded P6 (Java post)

 

MySQL performance tuning and architecture design analysis

Basics

The school recruitment failed. After 2 years in a small company, I finally joined Ali, graded P6 (Java post)

 

Performance optimization

The school recruitment failed. After 2 years in a small company, I finally joined Ali, graded P6 (Java post)

 

Architecture Design

The school recruitment failed. After 2 years in a small company, I finally joined Ali, graded P6 (Java post)

 

springboot high-frequency interview questions (with answers)

 

The school recruitment failed. After 2 years in a small company, I finally joined Ali, graded P6 (Java post)

 

springboot development guide

The school recruitment failed. After 2 years in a small company, I finally joined Ali, graded P6 (Java post)

 

The school recruitment failed. After 2 years in a small company, I finally joined Ali, graded P6 (Java post)

 

MyBatis frequent interview questions (with answers)

 

The school recruitment failed. After 2 years in a small company, I finally joined Ali, graded P6 (Java post)

 

MyBatis source code analysis

The school recruitment failed. After 2 years in a small company, I finally joined Ali, graded P6 (Java post)

 

The school recruitment failed. After 2 years in a small company, I finally joined Ali, graded P6 (Java post)

 

Concurrent programming high-frequency interview questions (with answers)

The school recruitment failed. After 2 years in a small company, I finally joined Ali, graded P6 (Java post)

 

The school recruitment failed. After 2 years in a small company, I finally joined Ali, graded P6 (Java post)

 

Toutiao, Baidu, Alibaba, JD and other big manufacturers written test papers

 

 

Although it’s only p6, it’s an affirmation of my hard work in the past two years. It also fulfilled a dream of my own and will continue to work hard in the future.

These real questions and study notes in the article are not complete for everyone due to space reasons. Friends who need it can help like + follow, add assistant VX: mxx2020666, you can get it for free

Guess you like

Origin blog.csdn.net/m0_46995061/article/details/109096821