Personal background
, as shown in the title of my personal background is very simple, Java development experience, 1 year and a half in ordinary, 2 the undergraduate course graduation, after graduation has been Crud, repeat every day work in the company to me it doesn’t help technology promotion, but out of town I also know the importance of self effort, want to change the “fate”, have no background, no capital It can only be achieved through hard work.
Luck tends to favor those who work hard, so I am not surprised when good luck befalls me. Now I have received the offer of Meituan 30K. I will not talk nonsense below, but mainly share my “Meituan interview experience” and “personal learning method”, hoping to help you.
The following interview questions and learning materials are arranged in PDF. If you need a complete PDF version, please forward them. After paying attention to them, add assistant Vx: Yunduoa2019 or scan the two-dimensional code below and follow the guidance of the assistant to obtain them by yourself
Meituan interview Experience (Restore the most real 4 aspects)
Beautiful group side:
1. Introduce yourself
2. Talk about projects
- Introduce the project
- How to ensure the data consistency between Redis and Mysql
- See you wrote a random number to prevent cache avalanche, explain
- Comparison of unimproved and improved Jmter test performance
3, Redis
- Why Redis for cache?
- Why is Redis performance so high?
- Talk about single-process, single-threaded Redis versus your usual multithreaded programs
- How can Redis be highly available? (Sentry, persistence policy RDB, AOF)
- Explain sentry, RDB, AOF
- Master-slave consistency
- Redis data elimination strategy
- Can you talk about distributed transactions?
- Is setNx a transaction?
4, Mysql
- Explain the transaction
- Talk about transaction isolation levels
- Why use B+ trees as indexes
- The difference between clustered index and non-clustered index
5, Java
- How does Java guarantee its security
- Just now you mentioned the Java memory leak problem, explain when it occurs
- BIO, NIO, AIO
6. Hand tearing algorithm
- An array finds the most common number of occurrences, and outputs the first number if multiple occurrences are the same
- Producer consumer (one to one)
7, other
- How do you study at ordinary times
- Do you have any questions?
Meituan Second Side:
1. Hand tearing algorithm
- 10 threads keep I from 0 to 10 (nearly rolled over, main thread busy, etc. 10 other threads finish)
- Reverse a linked list
- Step up (n=80)
2. Operating system
- Common Linux commands
- What is the relationship between signals and semaphores in an operating system
- What’s the difference between epoll and Selector?
3. Computer networks
- Talk about congestion control
4. Data structure
- Talking about red black trees, where do you use it in your usual technique?
- How does a hash table handle conflicts?
5. Project related
- Did you have any problems getting the project up and running on the server? How to check the running status of the project?
- How do you understand the relationship between Spring and Springboot?
- Spring IOC and AOP say what you understand
- Why message queues?
- Do you have a design for repeated consumption of messages?
Three aspects of Meituan:
- How did you learn Java?
- Do you understand design patterns? So let’s do a double-check for lazy and hungry people. Policy pattern, appearance pattern, adapter pattern, decorator pattern, respectively
- When does a federated index not trigger an index?
- Does AOP understand, what are its benefits, how to use it, and how to implement it?
- How does the transfer business that pays treasure to the bank come true?
- Redis implements distributed locking
- Cluster of three machines, access by different weights, how to do?
Meituan Siawan (HR) :
- Let me introduce you to you first
- Let’s talk about the four IO models
- How do you study at ordinary times?
- Why do you say to learn to practice?
- What are your biggest strengths and weaknesses
- Give me an example of your weakness
- Imagine what your life will be like decades from now?
- The most painful time you’ve ever felt
- One of the things that affected you the most
- Was there any conflict in the planning of the event?
- Is there anyone you look up to?
- Do you have any questions?
One and a half years of experience, two academic degrees, Curd background, offered 30K, my Offer of Meituan finally came
Make “hard work” your background (how to learn?).
1. Watch videos for systematic learning
The Crud experience of more than a year has made me realize that I am really a fighter in dishes. Because of Crud, my skills are scattered and not thorough and systematic, so it is necessary to learn again. What I lack is systematic knowledge, structure framework and ideas. Therefore, learning through video is better and more comprehensive. As for video learning, I can recommend website B for learning. There are many learning videos on website B, but the only disadvantage is that they are free and easily outdated.
In addition, I also treasure several sets of video materials lying in the network disk, I can also share with you if necessary:
One and a half years of experience, two academic degrees, Curd background, offered 30K, my Offer of Meituan finally came
2, read the source code, look at the actual combat notes, learning ideas
“Programming languages are the way programmers express themselves, and architecture is the way programmers perceive the world.” Therefore, programmers want to quickly recognize and learn architecture, reading source code is essential. Reading source code is solving problems + understanding things, and more importantly: seeing the ideas behind it; Programmers said: read ten thousand lines of source code, line ten thousand practices.
Spring source code deep parsing:
One and a half years of experience, two academic degrees, Curd background, offered 30K, my Offer of Meituan finally came
Mybatis 3 下 载 :
One and a half years of experience, two academic degrees, Curd background, offered 30K, my Offer of Meituan finally came
Redis study Notes:
One and a half years of experience, two academic degrees, Curd background, offered 30K, my Offer of Meituan finally came
Spring Boot Core Technologies – Notes:
One and a half years of experience, two academic degrees, Curd background, offered 30K, my Offer of Meituan finally came
3, the eve of the interview, brush the question sprint
A week before the interview, start sprinting. Please remember, brush questions, technology priority, algorithm to see some basic, such as sorting can, and intelligence questions, unless it is a school recruit, otherwise generally not how to ask.
As for the interview brush questions, I have also prepared a set of systematic interview questions to help you draw inferential conclusions:
One and a half years of experience, two academic degrees, Curd background, offered 30K, my Offer of Meituan finally came
conclusion
Only good technology, where do not worry about employment, “all can not go, only industry with” learning is not in the classroom that a few years say, but in the journey of life uninterrupted things.
Life is short, don’t muddle through it, don’t settle.
Article content involved in the Java interview questions, source code documents, technical notes and other learning materials, can be shared for free to everyone to learn, as long as you move a lot of support can be!
— Please forward it and add assistant VX: Yunduoa2019 after following it or scan the QR code below and follow the guidance of the assistant to obtain it by yourself