Ali is sad and tearful. Two and a half years of development experience enters Ali’s experience. It is too difficult for me to get this offer.

Preface

What the editor never expected was: Just before our National Day break, some reader friends said: I succeeded in interviewing Ali!
Sure enough, the big factories are all 996ICU, are they not closed on National Day? Can't compare! Can't compare!

image

It's a joke, let's see how others interview Ali successfully! And sum up the interview experience, I hope it will be helpful to everyone, (Is the following fans successful in the interview?)

image

First of all, I have prepared interview materials for first-line manufacturers and my original super hard-core PDF technical documents, as well as many sets of interview questions (continuously updated) that I have prepared for everyone. I hope everyone can find their favorite job! Friends in need click here to remark the csdn and download it by yourself. Sincerely waiting for you to get it, I hope it will help you!
Insert picture description here

Ali side:

1: self-introduction

2: Face-to-face: Talk about the projects you have done that are more impressive or what you think you have done better?

Answer: I think I did a good job in Xx. I used XX requirements to achieve XX functions, and the performance has increased by N times... Wait for a lot of crackling talk.

3: Face: You said that AOP is used, can you talk about its implementation principle?

Answer: It is realized by dynamic proxy, which is divided into JDK itself and CGLIB...

4: Noodle: Well, can you talk about their differences, advantages and disadvantages?

Answer: JDK is based on interface implementation, while CGLIB inherits the proxy class. . . (Just like this, I will keep asking, and if the conversation is almost done, I will start to ask some scattered questions)

5: JMM memory model, how is it divided? What are the contents stored separately? Is it thread safe?
6: Class loading mechanism, after talking about the parent delegation model, you will ask what violates the parent delegation model? Why?
7: Why do you need parent delegation What are the benefits?
8: How do you use multithreading? What are the benefits? The meaning of several core parameters of the thread pool?
9: The way of communication between threads?
10: The principle of HashMap: When it comes to thread insecurity, a natural extension ConcurrentHashMap, its implementation principle?
11: How to design sub-database and sub-table? Vertical split, horizontal split?
12: Business ID generation rules, what are the ways?
13: SQL tuning? What are the precautions for normal use of the database?
14: When an application starts slowly How to optimize?
15: Understanding of optimistic locking and pessimistic locking;

I can’t think of the others, probably the above. Finally, I briefly talked about the problems of the projects
I have done before. Tell me before the end and then I will change to a colleague to communicate with me. After hearing such a reply, I should be like this. Up.

One side summary

First, confirm the degree of intention for Ali (if you are in a different place, you will consider the degree of intention for the work location (Hangzhou)! Ali values ​​this);
secondly, the interviewer will generally conduct specific technical exchanges for the projects you have done, and will compare Pay attention to whether the individual has mastered the details of the project,
mainly examine the technical basis and principles of java, such as the Spring framework and the three aspects of the database and JVM, and will also discuss the implementation of distributed and thread pools, etc.,
focus on whether there are comparisons Study technology and technical highlights [not necessarily every aspect is great, but there must be highlights]

Ali two sides

1: Changed the method and asked a lot of thread pool knowledge (mainly examines the corresponding parameters)
2: java memory model
3: the difference between lock and synchronized
4: the difference between B+ tree and B- tree
5: composite index
6: The difference between clustered index and non-clustered index?
7: What is the difference between the primary key and unique index of a database index?
8: Index failure conditions, when should the index be established
9: The difference between innDB and MyISAM?
10: Thread safety (blocking synchronization, non-blocking synchronization, no synchronization)
11: Talk about the Java class loading process?
12: Describe the principle and mechanism of JVM loading Class files?
13: What is GC? Why is there GC?
14: Briefly describe the Java garbage collection mechanism.
15: How to judge whether an object is alive? (Or how to determine the GC object)
16: What is the basic principle of the garbage collector? Can the garbage collector reclaim memory immediately? Is there any way to proactively notify the virtual machine for garbage collection?
17: Why are the stop() and suspend() methods not recommended?
18: What is the difference between sleep() and wait()?
19: What are the similarities and differences between synchronous and asynchronous, and under what circumstances should they be used?
20: Briefly describe the similarities and differences between synchronized and java.util.concurrent.locks.Lock?
21: Please tell me the thread synchronization method you know.
22: What is a thread starved to death, and what is a livelock?
23: What is ThreadLocal?

Two-sided summary

In-depth understanding of technical strength, understanding of your knowledge, understanding of your problem-solving ability and the ability to use technology flexibly according to the project, also through this process to examine teamwork ability, learning initiative and innovation, you can choose 2-3 Do a careful technical review and unique understanding of the typical projects you have passed [this will be your bonus item];

Ali three sides

1: Regarding the continuation hierarchy of Java exceptions, describe the continuation relationship of exceptions;
2: How do java threads start? What are the ways to lock in java and how to write it?
3: Understanding of optimistic and pessimistic locking;
4: How the heap is managed in JVM, JVM's memory recovery mechanism, introduce
5: the difference between redis cache and memcached cache, and their respective advantages and disadvantages
6: microservice architecture: The difference between dubbo and springcloud, and their corresponding usage scenarios.
7: How to load balance the thread pool
8: How to design single sign-on, the principle of single sign-on
9: The realization principle of synchronized? Can Volatile guarantee atomicity? why?
10: Tell me about GC?
11: TCP three-way handshake, why three-way handshake?
12: MySQL deadlock, how to solve it, if the execution order is not required, how to solve the deadlock
13: What do you think of Alibaba?
14: What do you think of 996?
15: Talk about your strengths and weaknesses

Three-sided summary

Their final re-examination for executives will involve related technical issues, most of which are macro-controls of your overall values (such as motivation, responsibility, mentality, work passion, etc.)

HR confirmation face

Basically, from the general direction, understand your mentality, ability to withstand stress, your role at work, general plans for the future, and your intention to Ali

[Technical basics and problems, just read the book and prepare, it doesn’t matter if you don’t understand it, you can’t understand it directly; check the details of the project more, talk about your own technical highlights according to the project, and be able to express clearly and guide The interviewer will ask you technical questions that you are good at, so you can play to your heart’s content.]

The characteristics of talents that Ali prefers: passion for technology, strong technical foundation strength; initiative, good at teamwork, good at summarizing and thinking ;

Interview summary

In the dozen or so companies that I interviewed, I found that the interviews of those big companies were easier, and those of the smaller ones were more demanding. Anyway, just pick the thorn in your fish. Finally, I’m sharing my experience

The first point: Pack a unique resume of your own

The second point: prepare accordingly for the interviewing company

The third point: learn to ask questions actively during the interview

The fourth point: answer the questions truthfully on technical issues (will be, if not, will not)

Fifth point: Have strong technical knowledge

Sixth point: With strong technical knowledge, you must have your own opinions and opinions.

At last

Finally, I also shared the information about the successful interview of Ali boss for free to everyone, I hope you can become the next boss! The learning technology content includes: Spring, Dubbo, MyBatis, RPC, source code analysis, high concurrency, high performance, distributed, performance optimization, microservice advanced architecture development, etc.
Insert picture description here

There are also Java core knowledge points + a full set of architect learning materials and videos + first-line interview books + interview resume templates can be obtained + Ali Meituan Netease Tencent Xiaomi Iqiyi Kuaishou Bilibili interview questions + Spring source code collection + Java architecture Practical e-books.
Friends who need it, click here to remark the csdn, and download it by yourself. Finally, I still wish you all, begging for a wife, a child, and an offer.

Guess you like

Origin blog.csdn.net/weixin_47277170/article/details/110832701