The latest Ali Java interview questions compilation + advanced information sharing, directly collect after reading

The latest Ali Java interview questions compilation + advanced information sharing, directly collect after reading

Foreword:

The Golden Three has passed and it is now the Silver Fourth. As far as I know, many people will choose to quit in March. Why do everyone choose to quit and quit in March? Of course, the New Year has just passed. Maybe everyone thinks the old company is not treated well? Salaries are not high enough, you want to change to a new environment and so on. Therefore, March has become the peak season for recruitment and job-hopping, so why is April not as good as March? I believe you don’t need to say that everyone knows, after all, everyone went to join in the fun in March, and they all went to recruitment and interviews. There were very few people who were hiring and interviewing in April, and those who did not find a job in April can use the old It's not an exaggeration to say that for You Tiao, and the company also recruited people in April. Those books are all looking for big cows.

Then why do I say that silver four is better than gold three fire? Because most people think that the job in April is difficult to find, and the salary is not very high, the environment is not known whether it is good or not, and there are a lot of requirements, the interview is difficult, etc., but according to what I have learned , The employment situation in April was better than that in March, and the salary, salary, environment, etc., were better than those in March. According to what I learned from a good friend James, just a few days ago, the two students he brought successfully interviewed Ali, and he also helped me organize the interview summary of which two students. Here, I will share with you , I hope everyone who is looking for a job in April, my article can help you.

Interview summary

Then I will replace the two students with A and B respectively

A student

The first round: the first call

The second round: technical interviews [try to avoid talking about management work for technical positions]

The third round: executive retest

Fourth round: HR final confirmation

On the one hand: first confirm the degree of intention to Ali (if you are in a different place, you will even consider the degree of intention to work (Hangzhou)! Ali values ​​this); secondly, the interviewer will generally conduct specific technical exchanges for the projects you have done. I will pay more attention to whether the individual has mastered the details of the project. It mainly examines the technical basis and principles of Java, such as the Spring framework, the three aspects of the database and the JVM, and also discusses the implementation of distributed and thread pools. There are more technical and technological highlights [not necessarily every aspect is great, but there must be highlights];

The second aspect: the technical aspect, according to the project, understand the technical strength, understand your knowledge aspect, understand your problem-solving ability and the ability to use technology flexibly. Through this process, you can also examine teamwork ability, learning initiative and innovation. Choose 2-3 typical projects you have done to do a careful technical review and your own unique understanding [this will become your bonus item];

Three aspects: their final executive re-examination 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: Basically, it is to understand your mentality, ability to withstand stress, your role at work, general plans for the future, and your intention to Ali from the general direction

[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;

The questions asked by Ali interviews will be lower

  1. Java memory structure, spring aop implementation method, java database problem location and performance tuning;
  2. Regarding the continuation hierarchy of Java exceptions, describe the continuation relationship of exceptions;
  3. What is the difference between overloading and rewriting in java, and what keywords are used respectively;
  4. About distributed message queue, distributed cache;
  5. About the implementation of hashmap source code, jdk
  6. Regarding design patterns, uml, jvm memory recovery mechanism
  7. How to start the java thread? What are the ways to lock in java and how to write it?
  8. Understanding of optimistic locking and pessimistic locking;
  9. How to optimize SQL in ORACLE and what are the ways? What are the characteristics of transactions, and what are the levels of isolation in ORACLE?
  10. Introduce a typical project that I have done recently;
  11. What problems were encountered in the project and how did you solve them;
  12. What is the current number of users supported by the system? If the number of users is increased by 10 times, what kind of problems will the system have, and how to redesign the system [Here I mainly want to understand your problem prediction ability and problem solving ability, and examine ideas]
  13. What is the principle of using memcached
  14. How to store data in the memcached cluster, and introduce this process. Follow-up question, talk about the implementation principle of the consistent hash algorithm.
  15. How to manage the heap in the JVM, the memory recovery mechanism of the JVM, introduce
  16. Distributed transaction implementation
  17. Hot account questions (will ask if there is a project)

The first round of technical interviews (electronic face) involved Java basic points (for reference):

  1. session
  2. java lock
  3. gc principle
  4. hashmap
  5. listlink arraylist difference
  6. aop principle
  7. Multithreading
  8. Kafka principle and fault tolerance
  9. spark hadoop principle
  10. redis synchronization mechanism
  11. classLoader mechanism
  12. Http protocol
  13. cookie limit
  14. HashMap key requirements, hashcode is consistent, whether two objects are equal
  15. The principle of JVM
  16. Covers a wide range, including talking about problems encountered on the project, in order to discuss in depth.

XX:

  1. Introduce your job responsibilities, how to allocate technology or management
  2. Introduce the project, the technology involved and the whole process. Then he will ask in depth if he is interested
  3. Then talk about some jvm, nosql and the like
  4. If the server response is slow, how should you troubleshoot the problem
  5. How to track the elapsed time of a method with minimal interference in business procedures

Audit interview-java:

  1. Introduction of candidates The current focus of technical management;
  2. Understanding of the corresponding positions recommended by Ali;
  3. What is the system design?
  4. For some architectures, where does the data source come from and ask in-depth;
  5. Module boundary, caching mechanism;
  6. When selecting technology selection, the difference between A and B;
  7. How to use multithreading, what are the benefits, and the difference between processes;
  8. Multi-threaded process;
  9. The method of multi-thread synchronization, how to implement it in X project;
  10. The embodiment of the distributed architecture in your current project;
  11. What is used for cross-host communication, interfaces, etc.;
  12. Big data storage;

end:

  1. What do you think you are good at, the route you want to take in the future, technology or management;

Java interview questions sharing:

  1. The two modes of JMS are those;
  2. How to update the rich client;
  3. What are the functions of an enterprise data bus like ESB designed by yourself;
  4. System architecture design;
  5. How to control the session in the cluster;
  6. How to know which modules in java memory consume more memory;
  7. Adjust the parameters of the application server.

B student

Basics

Interview questions

  1. junit usage, execution order of before, beforeClass, after, afterClass
  2. Distributed lock
  3. Nginx request forwarding algorithm, how to configure forwarding based on weight
  4. What are the problems with using hashmap to implement redis (deadlock, dead loop, ConcurrentHashmap available)
  5. Thread status
  6. The way the thread is blocked
  7. The difference between sleep and wait
  8. The underlying implementation of hashmap
  9. Ten thousand people grab 100 red envelopes, how to achieve (without queues), how to ensure that 2 people cannot grab the same red envelope, and distributed locks are available
  10. java memory model, garbage collection mechanism, unreachable algorithm
  11. Two Integer reference objects are passed to a swap method to exchange references within the method. After returning, will the values ​​of the two references be found to change
  12. The underlying implementation of aop, how dynamic is the dynamic proxy, if there are 100 objects, how to dynamically proxy these 100 objects
  13. Have you ever used maven install. maven test. git (make install is to install the local jar package)
  14. Various configurations of tomcat, how to configure docBase
  15. Several ways of spring bean configuration
  16. Web.xml configuration
  17. Listener for spring.
  18. The implementation mechanism of zookeeper, there is a cache, how to store the registration service
  19. Will IO block? Is readLine blocking
  20. Have you ever used spring thread pool or java thread pool?

If you can answer 70%, the breadth of the foundation is OK. If it is not possible, then quickly make up for what is missing. When the breadth is reached, it is necessary to have depth on individual hot issues. Everyone's energy is limited, and two hot issues can be selected for in-depth exploration. For example, HashMap should not only be able to say what the source code is to achieve, but also understand what improvements have been made from JDK 1.7 to 1.8, why such improvements, how ConcurrentHashMap is implemented, and what optimization measures have been made for concurrent scenarios , What is the difference between the implementation of JDK1.7 and 1.8. Understanding these can take a lot of effort. However, once you ask about this knowledge point that you are very proficient in during the interview, you will basically enter your home court. This can play a final role, leave a strong impression on the interviewer, and even directly determine the success or failure of the interview. Therefore, prepare for at least one or two very proficient knowledge points, which must not be too many, but be more proficient than the interviewer and other job seekers. This bet is luck, as long as you can teach the interviewer a lesson on a question, you can make the other person feel that "you are great".

Take notes on all basic knowledge, review them before the interview, and work with them to solve the problem.

Project articles

To answer project questions well, the core is to make adequate preparations in advance. First, carefully review the projects you have done. Then select the most valuable part and write a summary document about this project. It is necessary to clarify the structure and design ideas of this project. The second is to try to recall the difficulties encountered at the time, the pits that I stepped on, how I thought and dealt with it, and the subsequent improvement of the project. This is very important and must be written down. After the document is written, it has to be refined and supplemented repeatedly. Use this document as a guideline during the interview, so that you can talk freely and deal with it calmly.

Emotional Intelligence

During the interview, there may be interspersed questions about personality. For example, ask why you left/want to change jobs, what do you think about technology and business, what do you know about our company, what do you know about our business, what do you want to ask me, and what advantages/disadvantages do you think you have. Technical students are often lacking in emotional intelligence. If they are not prepared, accidentally saying a wrong sentence during the interview may lead to abandonment of previous efforts. Especially in Ali, HR has a veto power. Then, the first point to deal with such problems is to prevent them in advance. You can take a piece of paper in advance, guess the questions that the other party may ask, write down the standard answer, re-examine it, and memorize it. For example, the standard answer to the question "What do you think you have?" My standard answer at the time was, "I think the hardest thing for people to understand is yourself, so I want to borrow the evaluation of my former leader, XXX is a...". My standard answer is designed based on the principle of "third-party evaluations are more credible". The second point is to be humble when answering questions and never have negative energy. For example, "Why leave/want to change jobs?" Do not complain about the company or colleagues, or express emotional dissatisfaction. It is very important to try to show one's learning and progress. The interviewer will record your impressions, including your strengths and weaknesses. Therefore, even if the technology fails to meet the requirements, try to show the advantages of personality.

Ali interview process

Interviews are generally four to five sides, mainly telephone interviews. In the last round of interviews, HR interviews, so as long as you survive the previous technical interviews, it is generally OK. The first round is to investigate the basics, and the second round to investigate the project and communication skills. There may be programming in the third and fourth rounds, requiring on-site code writing, or completion of a designated project offline. The interviewer's level is between p6-p9 and generally increases as the interview process progresses. After the technical interview is passed, the HR interview will be conducted. This round mainly examines values. After all the interviews, there is a long wait, during which there will be medical examinations, background checks, and then offer. This process will take one month, which is relatively long. It is important to note that honesty must be guaranteed during the interview process and no falsification is allowed. Because once a lie is discovered during the background check, not only will the offer be cancelled, it will also be recorded in the talent pool. One more thing, you can’t break the appointment at will, this will be recorded permanently. Your interview process will be recorded in detail in the talent pool, so try not to leave stains, so as not to affect future interviews.

The above two students are two students led by James. Those two students have interviewed, and then wrote a summary, I will share with you again.

Then why can these two students be able to interview Ali in this early April? Someone said: "Maybe they are old fried dough sticks, and they can be interviewed with rich experience." Is it unexpected? According to James, they both have 2-3 years of work experience, and the basics are medium.

to sum up:

Based on the summary of Ali interviews summarized by the above two friends, when you read the article yourself, think about it for yourself. Can you answer those questions? Do you think of further improvement in your technology? In April, the last month of the golden month for interviews, can you seize the opportunity? When you meet technical difficulties and bottle problems, can you solve them? What can't be solved, prove that you are on the road of development, and you need to continue to study hard.

Finally: Click here to get the organized interview questions and answers.

Guess you like

Origin blog.csdn.net/lyl5454/article/details/112653072