Four years of Java development, interview core knowledge points (Tencent + Ali + Kuaishou Mianjing) with answers

Tencent

1. One side

  • In-depth analysis of the principle and use of stl. (List,vector,hashmap,set...)
  • Didn't know in depth, the Java version of the answer.
  • In-depth analysis of the difference between poll, epoll, and select.
  • In-depth analysis of fork algorithm.
  • Memory allocation algorithm (under Linux, including detailed information such as page tables) and cache elimination algorithm.
  • In-depth analysis of three-way handshake Three-way handshake.
  • In-depth analysis of congestion control.
  • In-depth analysis of the virtual function table.
  • Linux commands.
  • Encryption and decryption functions.
  • Two algorithm problems
  • Transaction propagation
  • Transaction isolation level and resolution

2. Two sides

  • poll,epoll,sellect
  • Ask the project
  • The concept and application of lock
  • Inter-process communication method
  • Sorting (4 billion QQ numbers, sorted)

3. Three sides

  • Self introduction
  • poll,epoll,select
  • Ask the project
  • Socket programming
  • Three handshake and three waves (not the simple kind)
  • java memory recovery mechanism

 

Anai Sutra

one side:

  • 1. Introduction
  • 2. Projects (the kind of crying, very powerful, many places I didn't expect)
  • 3. Transaction spread
  • 4.hashMap和hashTable
  • 5.java1.8 new features
  • 6.hashMap和ConcurrentHashMap
  • 7.java memory recovery mechanism

Two sides:

  • 1. Introduction
  • 2. Project 1
  • 3. Project 2

Three sides:

  • 1. Introduction
  • 2. Project
  • 3. Initialization order of variables
  • 4. Class loading order
  • 5. Class loading mechanism
  • 6. Garbage collection mechanism
  • 7. Abnormal integration system that catches abnormal situations

Fast hand

one side

  • 1. Introduction
  • 2. Project
  • 3. Two algorithms
  • 4. Concurrent programming volatile

Two sides

  • 1. Introduction
  • 2. Algorithm

It is worth mentioning that the eldest brother on the second side was very anxious to me, and finally made a wave of abuse. Because in the previous algorithm class, the teacher said that from a performance perspective, recursion should not be used as much as possible, and the iteration can be used as much as possible. Iteration, but the recursion written by elder brother is really concise. In addition, programming questions must pay attention to programming specifications.

Three sides

  • 1. Introduction
  • 2. Project
  • 3.jvm garbage collection
  • 4. Java exception system
  • 5. Algorithm

hr noodles

  • to chat with
  • Ask the project, background, original intention, and what is responsible
  • Ask why they choose their company

to sum up

  1. Fully prepare the data structure, brush the questions on online programming, read the basic knowledge of books, practice projects, take into account the basic computer knowledge, and the most important thing is to accumulate your own knowledge. Other aspects and question banks are just icing on the scene.
  2. If you adjust your mentality, the choice of the first company is the most important. Success will increase your confidence along the way
  3. Summarize, think, learn and improve after each meeting
  4. Pay attention to new technologies, pay attention to open source projects
  5. Work harder, only work harder than others
  6. I wish you a successful new year of job hunting and find a satisfactory job.

Reader benefits

Finally, I wish you all my colleagues a satisfactory job, if you are confused about the interview. I have compiled some real interview materials, technical knowledge analysis tutorials, and exchanges and learning with colleagues to make progress together (obtained at the end of the article)

 

 

 

Guess you like

Origin blog.csdn.net/bjmsb/article/details/109597748