Landing experience! I have tried my best to fight Ali on 5 sides and successfully got the offer. I attach my experience and hope to help everyone!

Preface

Qiu Zhao came, and facing the Ali that he was thinking of, even if Chun Zhao was severely beaten, he couldn't help but submit his resume again. In fact, the interview this time was even more dangerous, and I felt very stressful throughout the whole process, unlike when I was recruited in spring, I felt more comfortable.
Until the day before yesterday, I thought I was hanging up on the two sides, and wanted to confirm it. I didn’t expect it to be an unexpected gain. The two sides actually passed. I recently arranged the final and intersection, and I really burst into tears.
lz is also very good at himself, and the algorithm is really weak. It has always been his biggest pain point. Ugh. The first question of the written test was ac 0.6, and the test example was passed the next day, but I don’t know why the array was out of bounds when I ran the question, 0ac. Ugh. Fortunately, I finally got an offer!
The following is the text. The questions are in no order. They are all recalled.

In addition, I have prepared first-line interview materials and my original super-hardcore PDF technical documents for everyone, as well as many sets of interview questions I have carefully prepared for everyone. (Continuously updating), if you need it, just click here to download it directly ! Hope everyone can find the job they want!

Ali side:

  • Trigger the new generation GC, if the total number of surviving objects is greater than the capacity of the survivor area, what to do

  • If there are many tasks, the blocking queue of the thread pool will burst into which area of ​​the memory

  • Is the stack on the heap?

  • What are the GC roots

  • Can instance variables be GC root

  • Know which GC algorithm, introduce

  • Give a scenario, ask how to set JVM parameters

  • I asked a lot of SQL tuning, whether various statements can hit the index, which ones can be hit, and how to optimize

  • There are three fields ABC in a MySQL table. There are 1000 types of A, 1W types of B, and 10W types of C. How to set the combined index of ABC and how to use it

  • The difference between Mybatis # and $

  • Can the method in the Mybatis interface be different from the SQL name in the XML?

  • How does Mybatis complete the mapping between SQL and methods in the interface (I answered how to configure it), do you know how it is implemented?

  • Introduce Spring's IOC and AOP

  • The server sends the IO stream to the client

  • How much do you know about IO and NIO

  • What are the threads of the state, how to switch

  • The difference between Notify and notifyAll

  • Introduce thread pools, where are the differences between different thread pools, and how do you usually use thread pools

  • Data structure of MySQL index

  • How much do you know about B+ trees

  • Cookie and SessionId talk about

  • How the lock is implemented

  • Synchronized synchronized block and synchronized method, what are the locks respectively

  • Singleton mode, the problems of hungry and lazy

  • How does Volatile achieve visibility

  • Introduce JMM

  • Happen before you understand

  • A happen before B, means A must be executed before B

  • Among the hardest projects you have ever done, what is the hardest task and how to solve it

Ali two sides:

  • What source code have you seen?

  • What maps are available in Java, and how to implement them, specifically

  • In addition to LinkedHashMap, you also know which ordered maps

  • ConcurrentHashMap talk about

  • Why is there a thread pool

  • What are the types of thread pools? What's the difference? What are the parameters? What are the rejection strategies

  • What kinds of blocking queues are there and what are the differences

  • How to understand Java reflection

  • How to understand Spring's IOC and AOP

  • What resources will be loaded when the Spring project starts, and in what order

  • What happens when the browser enters a URL? Let’s talk about the whole process

  • Http talk about, what is the content of the request, what is the response

  • Your written test score is so high, have you brushed a lot of questions? How to brush it?

Ali three sides:

  • How much do you know about MySQL's high availability and high performance

  • Taobao has 1000T of data and cannot be stored on a single machine. What should I do? Is there a way to access the server only once? How much do you know about consistent Hash

  • What is the difference between MySQL and redis

  • How to do MySQL data backup

  • What is the underlying principle of Redis

  • Why is Redis faster than MySQL

  • Redis RDB may lose data, what to do

  • Doesn't Redis AOF also write logs to disk? What is the difference between that and MySQL's IO? Why Redis is fast?

  • How to do Redis master-slave replication

  • How much do you know about distributed caching

  • Do you know other NoSQL

  • Talk about the advantages and disadvantages of Java and C

  • Have you ever written the bottom layer in C

  • A detailed talk about Java's G1 collector

  • When will G1 stop the world

  • Has the Linux operating system been used?

  • How much do you know about distributed and middleware

  • Describe your project in detail

  • Do you think your current project can be expanded and optimized? Tell me about it

  • What does the laboratory do? Why switch to the Internet? How many students from the laboratory switch to the Internet

  • Have you posted a paper? Would the instructor be willing to intern?

  • How much do you know about Ali's technology? How much do you know about the department?

Ali on all sides:

  • Commonly used data structures for database indexes

  • Have you seen the Juc source code? What is the realization principle of the lock?

  • Can CAS talk in depth

  • Talk about the builder mode

  • Talk about the experience of the written test (the written test score is high)

  • What books have you read

  • Which book do you plan to read next

  • Introduce the laboratory project

  • What is the biggest challenge I have ever encountered, it can be said that the laboratory project, internship experience or own project

  • How to solve this difficulty

  • Is there any cooperation in the project?

  • Current offer situation

  • Self-evaluation

Ali's five faces (cross faces):

  • Introduce the project, the source of the project, did you do it alone?

  • How to do login verification

  • Talk about ThreadLocal

  • How does ThreadLocal avoid thread pollution (don't understand what it means)

  • How to like it

  • Redis persistence method

  • MySQL storage engine difference

  • Why is Myisam generally faster than InnoDB in read-only scenarios

  • How to use Mybatis

  • The difference between Mybatis # and $

  • The difference between BeanFactory and ApplicationContext in Spring

  • What are the scopes of beans in Spring and what are the differences

  • Name a specific application scenario of prototype scope

  • Which design patterns have been learned and which design patterns have been used

  • A talk about the producer consumer model

  • How to implement blocking queue

  • Have you learned Linux (basically never)

  • Under Linux, how to find all files in a directory and require the output order to be sorted according to the creation time of the files

  • Give you a bunch of student information, including student ID and name, let you find the names of the top 10 students

  • How to implement PriorityQueue

  • How to find the root number 3 (I talked about the dichotomy, using the square of 2, 1.5, and 1.75 to compare with 3 in turn, narrow the interval until the accuracy requirement is reached)

  • Your search method is too slow, can you optimize it (I ask: Do you want to ask about the knowledge of numerical analysis? The interviewer said: Yes, have you never studied numerical analysis?)

  • Fibonacci sequence, find the value of the nth term (recursive and DP have been answered)

  • If the length of the sequence is 100W, isn't your DP matrix very large? How to optimize? (Answer: Use two variables a, b to record the first two values, temp = a, a = b, b = a + temp, recursively)

  • What is the shortest time interval between the hour, minute and second hands of a clock? (I have no idea at all, I only know that it will not work within an hour, because the speed of walking is different, and the fast and slow speeds in a circle cannot be hit)

  • How do you usually study

  • Which book I am reading recently, which book I plan to read next

  • Pros and cons under self-evaluation

  • How to prove your strong learning ability

to sum up

Finally, I prepared ava core knowledge points for everyone + a full set of architect learning materials and videos + first-line big factory interview collections + interview resume templates + Alibaba Meituan Netease Tencent Xiaomi Iqiyi Kuaishou Bilibili interview questions + Spring source collection + Let's share the Java Architecture Practical eBooks with everyone for free! Friends in need click here to download directly !
Finally, what I want to say is that no matter what age you are now, what city you are located in, what background or education you have, the person you are compared to will always be yourself, so next year you will see if there is a gap with you this year. People who are salted fish can only use their best to jump. Wish, you will be better next year!

Guess you like

Origin blog.csdn.net/jiagouwgm/article/details/111825604