Bytedance side:

  • JVM composition;

  • Realization of polymorphism;

  • How an inner class can access properties and methods of an outer class object;

  • [Redis Dictht] [Redis Dictht] [Redis Dictht] [Redis Dictht]

  • How to determine which locks are used in SQL statements;

  • MySQL index type;

  • Redis V.S. Memcached;

  • MySQL master/slave replication

  • CAS principle, meaning, underlying implementation, existing problems;

  • Project related issues;

  • Hand tearing algorithm: binary search for deformation.

Bytedance side 2:

  • When the height of the B tree becomes higher;

  • SQL query results at the database isolation level, index, and RR isolation levels;

  • The difference between multi-process and multi-thread mode;

  • Daemons, zombie processes, orphan processes, how to create a daemon;

  • Network protocol and the whole process involved in an HTTP request;

  • Manual tearing algorithm: system user online peak value and duration statistics.

Three aspects of Bytedance:

  • Does Java run out of memory? How to allocate memory, GC mechanism;

  • The difference and usage of final and finally fialize;

  • Singleton pattern of design pattern;

  • Reflection, meaning, use, and underlying implementation of Java;

  • Realization of pessimistic lock and optimistic lock in database and Java;

  • TCP congestion control principle;

  • How to solve the principle of too many time-wait connections;

  • Hand tearing algorithm: sub-string matching problem.

Bytedance four sides:

  • Project introduction;

  • Please introduce the source code you understand;

  • Hand tearing algorithm: three side hand tearing algorithm deformation (failed to come up with the optimal solution, or too dish);

  • System design.

Overall, the headline interviewer was very good at guiding the interviewer and enjoyed the whole interview! Give them a call here! At the same time, HR is also serious and responsible, and the feedback is very timely, usually within 50 minutes!

There is a need to xiaobian in the article to share these information friends note: forward + forward + private keywords “information” !!!! You can get free ~

Scan to obtain

Spring+Spring Boot+Spring Cloud+Spring MVC

Spring+Spring Boot+Spring Cloud+Spring MVC

Java Interview Materials:

Java Interview Materials:

Scan to obtain