Douyin Java technology interview summary. I will organize them here in a certain order so that everyone can read them. Many big companies will also ask these questions, let's take a look.
Answers & interview topic sharing:
collection method:
Remember to help forward it in a private message!
The Java side of Douyin:
- The difference between == and equals?
- How to override the equals method?
- What is the role of final on classes, methods, variables, and parameters?
- What are the commonly used data structures in Java?
- The data structure of HashMap?
- The realization principle of HashMap?
- The realization principle of TreeMap?
- The difference between HashMap and HashTable?
- The realization principle of ConcurrentHashMap?
- The data structure of ArrayList?
- The realization principle of ArrayList?
- The data structure of LinkedList?
- How does LinkedList work?
Douyin Java two sides:
- The difference between ArrayList and LinkedList?
- What are deep copy and shallow copy?
- Implement a sorting algorithm by hand?
- How many ways are there to create threads?
- What is the difference between run() and start() methods?
- The difference between wait and seelp methods?
- What can cause thread blocking?
- The difference between thread and process?
- Multi-thread synchronization mechanism?
- How to ensure the safety of multithreading to read and write files?
- How to close the thread?
- How to create a thread pool?
- How to close the thread pool?
- Talk about the JVM memory model?
Three sides of Douyin Java:
- Talk about dynamic loading?
- Under what circumstances will the garbage collection mechanism be triggered?
- Are there memory leaks in Java? Please give an example?
- Talk about a few commonly used design patterns?
- Tell me about your application of design patterns?
- What data types does Redis support and when do you choose which data to use?
- How does Redis solve the session sharing problem?
- Tell me about your practical use of Redis?
Douyin HR face:
- Self introduction
- Talk about your greatest strengths and greatest weaknesses
- What book to read recently?
- What offers do you have?
The above is the complete 4 interview questions of Douyin. I have compiled the answers and other BAT interviews.