Four years of Java development, just returned from interviews with Meituan, JD.com, and Ali (have got an offer), share personal experience

Meituan

one side:

1. Implementation principle of ConcurrentHashMap

2. HashMap implementation principle

3. The realization principle of lock

4. Principles and differences between synchronized and reentry

5. A char[] array with spaces in it, ending with &.

6. JVM memory model, what is stored. And garbage collection algorithm, garbage collector.

7, the scene of memory overflow

8. Design patterns and scenarios for their own use.

9. The AOP realization principle of Sping and the types of object generation methods are singletons or prototypes.

Two sides:

1. Distributed locks.

2. Traverse the tree layer by layer.

3. Atomic class implementation

4. Implementation principle of volatile

5. The introduction of the projects that you have done, the things you are responsible for, and the source of the problems.

6. The realization principle of database index, under what circumstances the index will fail.

7. Database sql optimization

8. After multiple threads are executed, another thread is executed, the implementation method.

Three sides:

1. The difference between process and thread

2. Given a process, there are multiple threads, one of which has an OOM exception, and judge the status of all threads.

3. Introduce what you have achieved. And the problem is thrown.

 

Jingdong

one side:

1. The advantages of object-oriented

2. The characteristics of java

3. Talk about what you do

4. Problems encountered

Two sides:

1. Basically all the techniques written on the resume have been asked. I have asked too many questions. I am a bit messy. If I can say no, I don’t know.

2. Talk about views on work and attitudes towards problems

3. Knowledge of Linux

Three sides:

1. HashMap realization principle.

2. The realization principle of thread pool

3. Let me ask deeply about the technology you are most familiar with.

4. The difference between CAS and lock, and application scenarios.

Four sides:

The leader said that he was busy, so he briefly chatted and asked me why I changed jobs and expected salary. It's over soon.

 

Ali

I don't remember very clearly, the interviewer was not in a good state during the interview, the interviewer was more jumpy and asked very deeply. Can't be vague at all

1. Basically, jvm must be basically mastered, concurrent programming needs to be mastered, mysql use and optimization, and the difference between mysql engine.

2. Implementation of blocking queue

3. Conurrenthashmap implementation method

4. Programming: The sum of a large string.

5. Programming: Handwriting deadlock.

to sum up

"Practicing hands" before the interview is still very important, so you must be prepared before you start the interview, otherwise it will delay the interviewer and yourself.

I have brushed a lot of interview questions myself, so I can know it during the interview process. I basically know what knowledge points will be asked during the interview and what are the high-frequency questions. So brushing the questions is the pre-interview A very important point in the preparation process.

Below I will share the interview materials I compiled with readers and friends in need. If there are friends who need these interview materials

Interview questions and analysis summary

Three years of Java development, just returned from interviews with Meituan, JD, and Ali, sharing personal experience

Dachang interview scene

Three years of Java development, just returned from interviews with Meituan, JD, and Ali, sharing personal experience

Summary of knowledge points

Three years of Java development, just returned from interviews with Meituan, JD, and Ali, sharing personal experience

Summary of notes

Three years of Java development, just returned from interviews with Meituan, JD, and Ali, sharing personal experience

Guess you like

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