After graduating for 2 years, I fought fiercely with 3 major companies such as Meituan, JD.com and Ali, and successfully got 2 offers. Sharing of my social recruitment Java job interview experience

Preface

I didn’t want to write this experience at first, because I have been busy with the job recently. After thinking about it, sharing is a virtue. I can enter a big factory thanks to the sharing of my experience. Now I have learned a lot. I summarized my interview experience of the past six months and shared it with you, I hope it will be helpful to you!

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 &. Such as: char[] a ={'I','','a','m','','','a','&'...''};

The total length is very long. The sentence ends with &. It is required to replace all spaces with "20%". That is, replace a '' with'%', '2', '0';

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, and 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.

Attached below is my summary of the interview experience of these two big companies, and my own interview questions. These materials probably include a lot of knowledge points, including basic knowledge, Java collections, JVM, multi-threaded concurrency, spring principles , Microservices, Netty and RPC, Kafka, diary, design pattern, Java algorithm, database, Zookeeper, distributed cache, data structure, etc. Friends in need can click here to remark csdn to get it, hope it will be helpful to you!

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.

At last

I hope you can get your satisfactory offer before the end of the year and Chinese New Year. Here is all my interview materials and review materials for you:
Insert picture description here
Insert picture description here
Insert picture description here

The above information is shared for free. I successfully landed on the land based on the shared experience and my own questioning. I hope my experience and question bank can also be helpful to everyone. All the above information is free to receive, if you need it Friends click here to remark csdn to get it for free. Sharing is a virtue. I hope that my experience and interview questions can be helpful to you. I wish everyone can get your favorite offer!

Guess you like

Origin blog.csdn.net/weixin_49494194/article/details/110143067