People from here (3 years of JAVA+ experience) challenge Ali P6!

Preface

After an interview with Ali, I blamed my limited level and stopped at the third round of interviews.

Let’s start with a phone interview late at night

I can't remember the exact time. I just remember that I had an evening phone interview with an HR on a working day. I planned to finish my work early and go home to prepare, but it happened to be in time for the overtime work that day, and it was raining, I was thinking that fortunately I didn't call today, or I didn't have time to answer the phone. The tragedy is that the call came when I got home a few minutes before I got home by taxi, and I just bite the bullet and answered it. It's silly to say, in fact, it should be understandable for people to wait a few minutes to explain the situation to others. In this way, my first round of phone interviews started at home downstairs (ps: I was still a bit cold at night), but fortunately, the result was good, and it was not in vain. HR asks all questions related to the basics of java. It is not difficult. I should have answered about 80%. The following is a question. I will post it based on my memory.
Insert picture description here

  • The difference between String, StringBuilder, StringBuffer
  • The difference between ArrayList and LinkedList and usage scenarios
  • The principle of HashMap, how to solve the collision of hash, what problems will HashMap have in the case of multi-threading
  • Have you used ConcurrentHashmap?
  • Do you know the optimization of jdk1.8 for concurrency?
  • Does CAS know what it is
  • What are the MySql storage engine, the difference
  • How to locate slow queries
  • What are the output results of explain
  • The underlying principle of the thread pool, what are the scheduling and discarding strategies, and what are the parameters of the thread pool
  • What are the GC roots of jvm garbage collection algorithm

The data structure is flawed

The second side is still a telephone interview, a little appointment, but I waited until 1:40 before calling, first a short self-introduction, and then throwing a few data structure-related topics for me, this one has always been His shortcomings, the abused body is incomplete. Let me say one more thing here. The attitude of the interviewer is quite good. If you are not beaten to death by a stick, you will slowly guide you if you can't answer. Seeing that I did not answer the first few questions well, I finally returned to the java-related questions.

  • Given a set, find a subset of the set
  • Find the common subtree of two trees
  • How to tell if a tree is a subtree of another tree
  • What is a spin lock, have you used it?
  • If you want both order and quick access, what data structure would you choose
  • Talk about the principle of TreeMap
    Insert picture description here

details make a difference

Three sides is the second day after two sides. After receiving the call, I was quite surprised. The two sides did not answer well, so there was a third chance. The three sides will mainly ask about some project details related things, will also talk to you about the business, will intersperse with you to talk about some technical details, do not just stay at the use level of the frameworks, middleware, etc. you have used, but still need to understand some Principle.

  • Please briefly talk about your company's current business, and will ask you some of your views, whether you are optimistic, etc.
  • Have you used message middleware, what is your purpose, do you know the concept of consumer group
  • Tell me about the RPC framework you have used, what would you do if you were to implement the serialization part of the RPC framework
  • Use java to achieve tps statistics, talk about your ideas
  • Talk about LinkedHashMap

There are still some questions that I can’t remember. Generally speaking, the answers are not very good. I don’t have a comprehensive understanding of the details of the project, and I don’t have a deep understanding of the business.

to sum up

Although the interview failed, the gain is still not small. If you want to improve yourself, you can't just confine yourself to the one-third acre land you have on hand. You must have a deep understanding of the business you have done. In terms of technology, don't always pursue Some high-level technologies, such as basic knowledge such as data structures and networks, cannot be stopped learning.
In view of the fact that many people have been interviewing recently, I have also compiled a lot of interview topic materials here, as well as experience from other major companies. Hope it helps everyone.

Latest finishing interview questions

Insert picture description here

The answers to the above interview questions are organized into document notes.
I also sorted out some interview materials & the latest interview questions collected by some big companies in 2020 (all organized into documents, a small part of the screenshots), if necessary, you can click to enter the password: qf

Newly organized e-books

Insert picture description here

The latest compilation of interview documents

Insert picture description here
The above is the whole content of this article, I hope it will be helpful to everyone's study, and I hope you can support it. One-click three consecutive!

Guess you like

Origin blog.csdn.net/w1103576/article/details/109220674