Can't wait for next year's gold three silver four! Didi Wumiandi finally landed, cut 37K+16 salary offer

Java Experience: The Road to Didi Offer-The Test of 5 Interviews

One side (electrical side 45min)

Is Hashmap thread safe? Why is Hashtable thread safe?

How does ConcurrentHashmap ensure thread safety? Let me elaborate.

What are the details of Hashmap? Why do you do this?

What is the difference between ArrayList and LinkedList?

What is the expansion mechanism of ArrayList? To elaborate.

How does SpringMvc work?

What is the difference between Session Cookie?

Have you used Rpc? Tell me about the usage of Thrift?

How do you generally use comments on projects?

What is the memory division of the G1 collector?

Tell me about the specific process of the mark-clear algorithm?

Do you know what jvm parameters are there? Say something?

Have you learned about jvm tuning? What command did you use? How to tune it generally?

I can only think of these questions... The gluten in the full text is part of the interview process, because I have a bad memory, and I forgot everything else... 2333

Two sides (video side 65min)

Does the JUC understand? Talk about CopyOnWriteArrayList, right?

Do you know the thread pool? How to implement a thread pool for you?

Under what circumstances will there be a jam between threads? (I don't remember exactly how I asked it, probably what it meant)

What locks do you know? Can you tell me the difference between Synchronized and Lock?

Do you know Spring IOC? Tell me what you understand?

Talk about Spring Aop?

What RPC framework do you know? How does Thrift work? Do you understand the others?

How does Mysql master-slave replication work? Tell me about what each thread does?

What is the difference between Redis and Memcache? How do you usually choose? why?

How does Redis deal with data misses? How to synchronize data with Mysql?

Which java version do you usually use? What are the new features of jdk1.8?

What is the whole process like in jvm gc?

How do you generally tune the JVM in your project?

Do you have any work plans?

Let's talk about the project

Three sides (60min on site)

Talk about the project

Is there any better optimization on the project?

How would you deal with server Dns hijacking?

What is the specific process of Https?

What is the specific process of entering a URL to visit?

What is the order of loading static resources such as html css js? On what basis?

Session multi-system multi-server sharing problem

Cookie distribution problem

To implement an authorization similar to Oauth2, how would you implement it, draw on the whiteboard. (For the first time in my life, I used a whiteboard to draw a flowchart during an interview...)

How to view the jar packages that the project depends on in Maven

Talk about a data structure and algorithm you are most familiar with.

Let's talk about the whole process of fast sorting, and draw it on the whiteboard. Is there any optimization?

What book do you read recently? Tell me about the most impressive piece of knowledge recently?

How much is distributed understanding?

Four sides (on-site HR side 60min)

Talk about life

Talk about life experience

Talk about the impressive life experience

Final surface (on-site TL surface 60min)

Let's talk about the project

Why did you do this? (For points in the project)

How was the Model layer in the MVC framework you wrote? Say something?

Is there any planning before the project development? Draw on the whiteboard, right?

Can you talk about the points that you have done better in terms of technology or life and the points that you have done well?

to sum up

After getting the offer, summarize the answers from the interview into a document form, and share it with everyone now! (And a set of real interview questions from major companies)

If you want to enter a big factory and get an offer, you can click to download directly

image

image

image
Scan to add Miss Sister VX to get
Insert picture description here

Guess you like

Origin blog.csdn.net/doubututou/article/details/112245161