20+ Internet company interview year-end summary (Java direction)

Didi 11.3 Video Interview at 5 PM

Ant Huabai 11.4 at 8 pm for telephone interview

Let's play No. 11.7 10:30
Boss hires No. 11.7 directly at 4 pm

Xiaomi 11.8 at 10:30 am

Gaode 11.8 at 3 p.m.
Ali Da Wen Yu 11.8 at 18:30 p.m.

Sohu 11.10 at 10:30 in the morning with
who to learn 11.10 at 2 in the afternoon

Knowing 11.13, 10:30 am

Ape Guidance 11.13 3pm

Bytedance 11.14 at 10:15 am

Omi Zhixin 11.15 at 2 pm

Pinduoduo 11.15 pm 20:00

Meituan 11.16, 10 am

Cainiao 11.20 at 10 am

Microsoft 12.13 at two o'clock in the afternoon

China CITIC Bank 12.13 19:00

Amazon 12.14 at 2:30 pm

Citibank 12.17 2:00 pm

shopee shrimp skin 12.18 two in the afternoon

This is the timetable for my appointment at the time. In fact, if you have more interviews, you will find a pattern. If a company is going well on one side, it will be smoother in the future regardless of three sides or five sides. Because everyone’s questioning methods are very similar, and they often say the same things to different interviewers.

In general, most companies interviews are based on the process of self-introduction + project introduction + project details/difficult questions + basic knowledge assessment + algorithm questions. Some companies may also ask a few questions about actual scenarios. Ali must ask in this link. There is usually no correct answer to this kind of question. It depends on personal understanding and personal accumulation. The rest is nothing, it’s all about changing the soup instead of changing the medicine. Talking about the project depends on whether you have a thorough understanding of your own project. For example, I often ask you why you chose this technology and why you handled it like this. There are only so many basic knowledge points for the test, and the final algorithm is to rely on brushing the questions.

In this article, I mainly post the frequently-tested questions. I have marked them with (required) if the frequency is too high. I have also sorted out the answers, but the sorting is not good enough. I am afraid of misleading everyone. I sorted them into the document. Friends in need can, click here to get it for free!

ZooKeeper

1. CAP theorem
2. ZAB protocol
3. Leader election algorithm and process

Redis

1. Application scenarios of
Redis 2. Data types supported by Redis (required)
3. Data structure of zset jump table (required)
4. Redis Data expiration strategy (required)
5. The specific implementation of Redis's LRU expiration strategy
6. How to solve the Redis cache avalanche and cache penetration problem
7. Redis persistence mechanism (required)
8. Redis pipeline

Mysql

1. Transaction The basic elements of
2. Transaction isolation level (required)
3. How to solve the problem of transaction concurrency (dirty reading, phantom reading) (required)
4. MVCC multi-version concurrency control (required)
5. binlog, redolog, undolog are all What is it and what is it?
6. InnoDB row lock/table lock
7. The difference between myisam and innodb, when to choose myisam
8. Why choose B+ tree as the index structure (required)
9. Index B+ tree leaf nodes can be What to save (required)
10. When will the query not go (expected) index (required)
11. How to optimize sql
12. explain how to parse sql
13. order by principle

JVM

1. Runtime data area (memory model) (required)
2. Garbage collection mechanism (required)
3. Garbage collection algorithm (required)
4. Minor GC and Full GC trigger conditions
5. Stop the world in GC (STW) )
6. The characteristics and differences of each garbage collector
7. Parental delegation model
8. JDBC and parental delegation model relationship
9. JVM lock optimization and lock expansion process

Java basis

1. HashMap and ConcurrentHashMap difference (required)
2. ConcurrentHashMap data Structure (required)
3. How does the high concurrency HashMap ring produce
4. Volatile function (required)
5. How to ensure atomicity of Atomic class (CAS operation) (required)
6. The difference between synchronized and Lock (required) )
7. The principle and implementation of ThreadLocal
8. Why use thread pool (required)
9. Core thread pool ThreadPoolExecutor parameters (required)
10. ThreadPoolExecutor workflow (required)
11. How to control thread pool thread priority Level
12. How to communicate between threads
13. Boolean occupies a few bytes
14. What new features are added to jdk1.8/jdk1.7 respectively
15. Exception and Error
16. Methods in the Object class

Spring

1. Spring's IOC/AOP implementation (required)
2. Dynamic proxy implementation (required)
3. How does Spring solve circular dependencies (three-level cache) (required)
4. Spring's post processor
5. How Spring's @Transactional is implemented (required)
6. Spring's transaction propagation level
7. The connection and difference between BeanFactory and ApplicationContext and

others

1. How to achieve the current limit of high concurrency systems
2. High concurrency The design of spike system
3. How to design and

supplement load balancing

In addition, some computer networks and operating systems will be tested. Like message queues, RPC frameworks are rarely tested. Computer network is hierarchical, tcp/udp, three-way handshake and the like. The operating system is the process and the thread, the data structure of the process and how to communicate. The sorting algorithm of the data structure is also more frequently tested, and you will be sure to write a quick sort by hand. The remaining algorithmic questions are accumulated by LeetCode. In fact, the algorithmic questions for non-algorithmic post exams are quite simple. Many of the questions are entirely to check whether your intelligence is normal. The slightly more difficult ones involve some algorithmic ideas. According to the classification of LeetCode question types, you can basically do one or two of each question. Time to interview. 

In addition, share the editor's notes for brushing questions, friends in need, click here to get it for free!

Guess you like

Origin blog.csdn.net/m0_46995061/article/details/112711908