The Internet circle under the shadow of layoffs is full of grief, so it is always right to be prepared for danger in times of peace.
If you are considering a job change, Ali is the first choice. The interview is relatively simple (many faces), and the demand for Java is large. Feel free to put a screenshot:
Search for Java in job.alibaba, the last page of the job is fresh enough
Ali is awesome! Java YES! (Breaking sound)
Everyone, please submit your resumes (or ask me to recommend it~ yes, **my team is also seriously short of people)
There are four key points in the Alibaba technical interview :
- Source code inspection
- Project experience with high availability architecture
- Programmer thinking
- Interview anti-routine skills (values + behavior problems)
During this period of time, I have faced a lot of Java. The general problem is that the basic programming is not bad, but it is difficult to show it in the interview. It will be exhausting to recruit people like this... So to summarize this article, I hope it can help the brothers who want to enter Ali P6 Java.
[Basic & Important] Source code inspection, what to inspect?
Examine the source code and exclude [Coder].
Because the big factory never recruits [code farmers] who can only write code , they must not stay at the level of programming.
How to do it? Look at my mouth shape: look at the source code!
The source code is large, difficult to understand, and confused. For the P6 interview preparation, it is basically enough to read and recite the following source code:
JVM bottom Spring family ORM-Hibernate/Mybabit thread pool/database connection pool Highly available access: Netty
Source code interview, true restoration:
"Q: What are the classes of manipulation strings in Java? What are the differences between them?"
This question is familiar and stable.
The answer that most people think is impeccable:
They are String, StringBuffer, StringBuilder.
The difference is that String declares an immutable object, and each operation must produce a new object. Both StringBuffer and StringBuilder inherit from the abstract class AbstractStringBuilder. StringBuffer is thread-safe. In usage scenarios, StringBuffer is required for concurrency, StringBuilder is required for iteration, and String is selected for normal scenarios to avoid unnecessary type conversion overhead.
After answering, finish calling .
Interviewer's inner OS: Only to this degree? Then just ask two more questions and let me go back and wait for the notice.
The [more in-depth] answer that the actual interviewer wants to hear :
Both StringBuffer and StringBuilder inherit from the abstract class AbstractStringBuilder!
Then additional interpretation:
Final modification —> immutable —> each operation will generate a new String object, compare StringBuffer and StringBuilder —> variable value, splicing string overhead.
At this time, the interviewer will backhand to offer multi-threaded Dafa, and ask for thread safety.
Wit as you (check the source code, find synchronized, thread lock) come to the conclusion: StringBuffer has thread safety.
The interviewer asked again : StringBuffer is thread-safe and has low iteration overhead. Is it ok if we choose it in practice?
。
。
。
This is Dachang’s interview routine:
Simple introduction of topics—problems progressively—and then examine the principles behind digging deeper
The purpose is to investigate the awareness of the source code—technical research and critical thinking.
The more seemingly simple questions, the more careful you have to follow, and the more routines will follow.
To be familiar with the source code, to get to the bottom, and to be able to show a good coding style , otherwise it is easy to dog.
I will hold a training camp at 8pm on the 12th and 13th. The content is as follows:
I want to find my inner push + white prostitute posture of the students must come to holding a field Ha ~
How to register for live lectures: private message [Live]!
[Ali P6 interview must ask] High-availability architecture + practical experience of business counterparts?
Keywords: business counterparts, high-availability architecture, practical experience
Brothers, do you feel like hehe.
There is something about experience, and there is no if there is no. Forcing the play will only embarrass the interviewer with you.
I am advancing an Internet project. From the perspective of trillions of users, the business scenarios are relatively rich and easy to match.
I will combine project examples to give you a hand-in-hand experience of how to develop and upgrade the architecture from the perspective of an engineer from a large factory. It is very helpful to increase high-quality project experience .
Interested students will have more points to join the actual operation experience of the project.
[Simple, but I don’t say what you don’t know] To show the programmer thinking of a big factory
Yes, it is very important to always show the programmer's thinking of a big factory.
String.format("%0" + n + "d", 0).replace("0","非常重要")
Different from the small factory's "implementation is good" thinking, the big factory programmer's thinking requires that while the requirements are "realized", they must also consider the amount of data that can easily reach hundreds of millions.
Therefore, the focus of answering any interview questions should focus on the scalability, availability, and real-time nature of the solution and architecture.
[Shooting at the door] 7 interview anti-routine skills that must be found out
Alibaba’s HR and values culture must have been heard by everyone, and the technical interview was successful, and the result is HR. Doesn’t it have a desire to die? Especially for Ali HR who are good at playing various new tricks.
for example:
"HR: If you get an offer, but after working for a period of time you find that you are not suitable for the position, what will you do?"
Wrong answer A: Resign directly/talk to the leader for job transfer
(A tough boy...you can't say that if you think so, brother)
Wrong answer B: Even if I find it inappropriate, I will stick to it
(If you can't change jobs, it will be more points if you try to express yourself not afraid of challenges?)
The correct answer: Don't be foolish, and don't be a thief. To show that "Although I have encountered temporary difficulties, I recognize this position, company and team", "I will take the initiative to ask colleagues and supervisors, quickly improve my ability, and adapt to the needs of the position as soon as possible."
Reader benefits
In addition to the above topics, these topics are of course indispensable, and Ali Dazhi personally taught:
1000 Java engineer interview questions, produced for Java engineer interviews.
Content covers: Java, MyBatis, ZooKeeper, Dubbo, Elasticsearch, Memcached, Redis, MySQL, Spring, Spring Boot, Spring Cloud, RabbitMQ, Kafka, Linux and other technology stacks
The Java Interview Book, the book is in hand, I have the offer, a quick book for Java developers of about 2 years.
The content covers: Java basics, algorithm and programming, htm&JavaScript&ajax part, Java Web, database part, XML part, popular frameworks and new technologies, software engineering and design patterns, etc.
800 pages of high-score algorithm, teach you how to become an algorithm master from Xiaobai