Interview assault on the Java post of the big factory, HR directly send an offer on the spot? He came out sideways!

Recap

This is a real thing that happened to my friend:

Call him A here .

A has worked for less than two years, and posted a good news in the circle of friends on the weekend, preparing to join Meituan.

After that, I talked with A for a long time with blessings. The content of the chat was to learn more about his interview process, his mental journey and future plans.

The reason why I posted this article today is because I have been waiting for him to sort out the content of the interview questions. It happened to be shared today.

Strictly speaking, there are three sides, but Y smiled and said that there are actually only two sides...

Meituan side (80min)

(In order to ensure that the content is pure, the following language was compiled by A himself without any changes)

The interview mainly starts from a system design and examines the foundation and project architecture experience. Meituan attaches great importance to basic issues (computer network, operating system)

It is mainly optimized around a system. Here are just a few points asked in the middle:

1. Project introduction (talk about the projects that I have done, and get to know each other)

2. Redis related issues

  • What problems can redis solve? Tell me about what you know?
  • Talk about the high availability of redis. Mainly talk about the process of the sentinel cluster, including the election and the processing plan after the downtime. Cluster workflow
  • Talk about the redis hash slot, why not use the consistent hashing scheme
  • Why is redis so fast
  • Technical selection of redis and mq

3. MySQL related issues

  • MySQL transaction isolation level
  • The interviewer described a scenario... how do you optimize MySQL in this case, and talk about the process steps you optimized
  • What solutions can you think of to optimize mysql throughput
  • The underlying data structure of mysql? How is the index stored?

4、rabbitmq

  • Advantages of rabbitmq, what problems can it solve
  • Talk about how rabbitmq guarantees high availability?
  • Talk about the mirror queue, how does it work? Dictate the code? ?

5. Concurrent programming related

  • hashmap跟concurrentHashMap

6. Nearly an hour of computer network foundation and operating system foundation

  • Process, thread
  • http1 and http2
  • What are the five-tier network architectures?
  • The difference between TCP and UDP, how does UDP achieve reliability, and at which layer?
  • TCP flow control, congestion control
  • Process scheduling algorithm
  • Wait... I can’t remember, Meituan thief likes to ask the basics for nearly an hour

7, JVM related

  • Class loading, parent delegation
  • Garbage collection related? How to judge? algorithm? collector?
  • Memory area

8. Two hand-drawn algorithmic questions

Meituan two sides (70min)

It's a serious interview...

1. Let's come to another scenario, optimize mysql, specific steps, what commands, how to operate, in more detail

2. The role of redis distributed lock? What scene have you used? What will be the problem? (Atomic problems, mistakenly deleted locks, mistakenly acquired locks, etc.) How to solve these problems? (The interviewer mentioned a few scenes and talked about this for more than half an hour)

3. Talked about the workflow of rabbitmq in detail. What are the types of rabbitmq and how are they used? Dictation code

4. Redis is highly available

5. What do you know about RPC, dubbo and springcloud? Because I have never done a microservice project, so ask me, what function do you think should have, I answered from the perspective of springcloud

6. RPC and mq technology selection, explain the reasons

7. Spring source code, I talked about the source code of the transaction (I've been using it several times, I'm familiar with it)

8. Two hand-drawn algorithmic questions

9. Talk about the internship time, place and future development

Meituan three sides (5min)

This 5min is very important↑

HR directly to the offer letter

Talking and laughing...Talk about salary, work location, and some basic information to be entered into the system, leaving the phone


Gan! It's so outstanding!

I asked him why he was so confident?

He sent me a document, saying that you can pick one out of them and ask me! Not to mention that Meituan’s question is so basic...basic...basic...

I opened the file and took a look...

Not to mention that it contains real questions from first-line Internet companies such as Alibaba Cloud, Ant Financial, Tencent, Baidu, and Ctrip. There are also microservices, concurrent programming, databases, messaging middleware, JVM, MySQL, Redis, Spring, SpringBoot. , SpringCloud, SpringMVC, MyBatis and other Java mainstream technology interview questions and analysis, so that's it~

If you need it, you can look here: ( click here ) to enter the download channel! Full of sincerity! ! !

Quick start channel: ( click here ) to download! Full of sincerity! ! !

Selected questions for Java interviews, architecture and actual documentation portal: https://docs.qq.com/doc/DRW1nUkdhZG5zeGVi

It is not easy to organize, friends who feel helpful can help like, share and support the editor~

Your support, my motivation; I wish you all a bright future and constant offers! ! !

Guess you like

Origin blog.csdn.net/weixin_45784983/article/details/108665064