About the author?
Da Bin, a non-major self-taught Java , received offers from many large Internet companies such as JD.com, Ctrip, and Huawei through school recruitment. As a transcoding player, I deeply feel that this journey is not easy. Half a year of self-study experience has completely changed my career. I insist on sharing my self-study Java experience, computer knowledge, Java back-end technology and interview experience, etc. I hope to help more friends. You should not step on the pitfalls I have stepped on again .
Click here to view my self-study route .
Interview website
Dabin built a small website by himself and organized all the interview questions in this warehouse into the small website. Everyone is welcome to visit~
Website address: https://topjavaer.cn
Warehouse related
Introduction
This warehouse is used to share high-frequency interview questions from major Internet companies and a summary of Java core knowledge, including Java basics, concurrency, MySQL, Springboot, MyBatis, Redis, RabbitMQ, etc., a must-have for interviews!
Articles related to interview topics have been compiled into PDF. Friends who need it can download it by themselves : Java high-frequency interview questions PDF
If you are a Java beginner and don’t know what to learn next, you can check out my latest Java learning route. If you like to watch videos to learn, you can refer to this: 10 million+ views! The most worth-learning Java video tutorial at Bilibili.
If you want to follow my updated articles and shared information in real time, you can follow my public account "Programmer Dabin" and reply "PDF" in the background to download the latest version of the PDF version of the high-frequency interview questions from Dachang .
Contribution Guide
All friends are welcome to participate in the maintenance of this warehouse. If you find the following problems, you can directly submit an issue or pull request :
- There are clerical errors in the notes (manual coding is inevitable, welcome corrections)
- There is an error in the note content
- Lack of knowledge and imperfection
- ...
Of course, it’s not just the above problems. As long as you think there is room for improvement , you can put forward your suggestions (submit an issue or pull request )
Friends who participate in contributions, I hope you can abide by the following regulations :
- How to submit a PR on Github properly
- How to submit an issue to the open source community
Resume is important
- 23 sets of exquisite resume templates
- Does your resume always come to nothing after you submit it?
Featured resources
- More than 200 classic computer books, collect them
- Brother Google’s test notes support three languages: Java, C++, and Go! (recommend?)
- A must for brushing up on questions! A manual for solving questions summarized by the BAT boss! (recommend?)
- Mind maps of various hard-core technology learning routes that are popular on Github
- Illustration of operating system, network and computer components PDF download! Computer basics that will get you going
- Free sex is really delicious! 15 quality Java projects
- Share for free! High-quality video tutorials recommended by Byte boss (recommended?)
- Play the ChatGPT manual and share it for free for a limited time:star:
Experience sharing
- I’ve been working for a year and want to change jobs, but I don’t know how to prepare?
- I have been working for 3 and a half years. My position has changed recently and I am a bit confused.
- Regarding Java development and big data development, which direction would be more suitable for recruitment in the fall of 2024?
- Reflections on four years of career as a programmer
- What is it like to do development in a state-owned enterprise?
- I have been working for more than two years and my technical level has not improved significantly. What should I do?
- 24th school recruitment, how to choose between Java development and big data development
- How do newcomers quickly become familiar with new projects?
Side Hustle Guide
- Some order-taking platforms
Preparation before interview
- I suggest you go through the questions like this
- How to answer project experience?
- What should I do if I have no project experience?
- What was the biggest difficulty you encountered in the project and how did you solve it?
- The interviewer asked you what your career plans are? how to answer
- The interviewer asked do you have anything to ask me? how to answer
- HR asked me which offers I have received so far. How should I answer this question?
Java
- Summary of Java high-frequency interview questions (recommended?)
- Java collection of high-frequency interview questions (recommended?)
- Java concurrency high-frequency interview questions (recommended?)
- JVM high-frequency interview questions (recommended?)
- Summary of Tomcat basic knowledge points
Important knowledge points about Java
- Summary of new features of Java8
- Java19 new features
- Summary of common usage of Java Stream
- What do T, E, K, and V in generics mean?
- Interviewer: How does reflection affect performance?
- Interviewer: Could you tell me more about your understanding of serialization?
- Feel the beauty of lambda
- Does try-catch catch exceptions affect performance?
Important knowledge points about JVM
- Meituan Interview: What JVM tuning parameters are you familiar with?
- A simple JVM tuning, put it on your resume
- Ali's troubleshooting tool--Arthas
- Is Java heap memory shared by threads?
- Interviewer: Have you ever done JVM tuning at work? How?
- Several useful memory analysis tools for JVM tuning
Important knowledge points about Java concurrency
- Let’s talk about common multi-thread lock strategies
- 8 ways to achieve asynchronous implementation
- CompletableFuture asynchronous multi-threading
database
MySQL
- 50 MySQL high-frequency interview questions ( 1k+ collections on Zhihu, recommended ?)
- MySQL lock high frequency interview questions
Important knowledge points :
- Detailed explanation of MySQL execution plan (recommended?)
- Graphical index pushdown (recommended?)
- The maximum recommended number of rows in MySQL is 20 million. Is it reliable?
- How does order by work?
- 8 most confusing SQL syntaxes
- Why is it said that database connection consumes resources?
- Will SELECT COUNT(*) cause a full table scan?
- Which is more efficient, distinct or group by, in MySQL?
- MySQL Slow Query: Slow SQL positioning, log analysis and optimization solutions
- How to optimize MySQL's hundreds of millions of tables?
- On the byte side: will select...for update lock the table or rows?
- Interviewer: How to read 1 million data from MySQL for processing?
- Interviewer: What is the difference between int(1) and int(10)?
- How to query 10 million data?
- The new colleague doesn't understand what "where 1=1" means?
Redis
- Summary of Redis high-frequency interview questions (high praise from Niuke, recommendation?)
Important knowledge points :
- How does Redis implement inventory deduction operations and prevent oversold?
- Detailed explanation of Redis persistence
- Why Redis 6.0 introduces multi-threading
- For caching and database consistency issues, just read this article
- How Redis cluster mode works
- The interviewer asked: What are you using Redis for in your project?
- How do MySQL and Redis maintain data consistency?
ElasticSearch
- ElasticSearch high-frequency interview questions
MongoDB
- MongoDB high frequency interview questions
frame
Spring
- 30 Spring high-frequency interview questions (recommended?)
Important knowledge points :
- Why does Spring need third-level cache to resolve circular dependencies instead of second-level cache?
- Detailed explanation of @Transactional transaction annotation
- A thorough understanding of Spring transaction propagation behavior in one article
- 15 Spring extension points
Spring Boot
Important knowledge points :
- SpringBoot automatic assembly principle
- How SpringBoot solves cross-domain problems
- SpringBoot project startup optimization practice
- SpringBoot implements electronic document signature + contract system
SpringMVC
Summary of Spring MVC interview questions
Mybatis
Mybatis entry knowledge points
Summary of Mybatis interview questions
SpringCloud
SpringCloud interview questions (recommended?)
SpringCloud summary
Zookeeper
- Zookeeper interview questions
- What are the usage scenarios of Zookeeper?
Netty
Netty practical notes
computer network
- Summary of common computer network interview questions ( 1k+ collections on Zhihu! Recommended? )
- Summary of common TCP interview questions
Important knowledge points :
Data Structures and Algorithms
- Summary of common data structures
- How to flash LeetCode efficiently?
- Solutions to 120 Leetcode questions (high frequency)
design pattern
PDF of design patterns summarized by ByteDance boss
Six principles of design patterns
Detailed explanation of common design patterns :
- Singleton design pattern
- Design Pattern Factory Pattern
- Design Pattern Template Pattern
- design pattern strategy pattern
- Design pattern chain of responsibility pattern
- Design pattern iterator pattern
- Design Pattern Decorator Pattern
- Design Pattern Adapter Pattern
- Design Patterns Observer Pattern
- Design Patterns: Agent Pattern
- Design Pattern Builder Pattern
High-quality articles on design patterns
- Does the code get messier as you write it? That's because you didn't use the chain of responsibility
distributed
- Microservices interview questions
- RPC interview questions
- Distributed transaction summary
Quality articles :
- Globally unique ID generation solution
- Distributed architecture evolution
- A new generation of distributed task scheduling framework
- How to implement distributed lock?
High concurrency
- Summary of current limiting algorithm
- load balancing
- Several options for current limiting
- Interviewer: How to ensure the idempotence of interfaces? I mentioned 12 methods in one go!
message queue
- Message queue interview questions
- Summary of RabbitMQ interview questions (recommended?)
- Summary of Kafka interview questions (recommended?)
Important knowledge points:
- Common usage scenarios of message queues
- How to design a message queue from 0 to 1
Massive data scenario questions
- Common routines for TopK problems in big data
- Count the number of different phone numbers
- The 100 most frequently occurring words
- Find the common URL between two large files
- How to find the median in 10 billion data
- Find the most popular query strings
- How to find the top 500 numbers
- How to sort by query frequency?
- How to sort 500 million large files?
System design
- Scan the QR code to log in
- Orders are automatically canceled if payment is not made after timeout
- Short chain system design
- oversold problem
- Flash kill system design
- 5 key points in flash sale system design
- How to design the WeChat red envelope system?
- How to send a file to 1 million servers quickly?
- How to use Redis to count user visits?
- Real-time subscription push design
- Permission system design plan
- How to design a red envelope grabbing system
- How to design a message queue from 0 to 1
- How to design a shopping cart system?
- How to design a registration center?
- How to design a high-concurrency system?
- Smooth migration of sub-database and sub-table
- 10w level data Excel import optimization
- From 3s to 25ms! Take a look at other people’s interface optimization techniques
Safety
- What is JWT?
- Single sign-on (SSO) design and implementation
Summary of the experience of major manufacturers
- ByteDance
- Tencent
- Baidu
- Ali
- quick worker
- Meituan
- shopee
- Jingdong
- Huawei
- NetEase
High quality articles
- What are the techniques to get rid of “duplicate code”?
- How to upload large files in seconds?
- Architecture evolution
- 8 architectural patterns
- Several common architectural patterns
- What should I do if the online interface is very slow?
- Stop encapsulating various Util tool classes, this god-level framework is worth having!
- How to write elegant code?
- How awesome is BitMap?
- What is the snowflake algorithm? What's the principle? Java implementation attached!
tool
- Summary of Git high-frequency interview questions
- Git super detailed summary! (recommend?)
- Summary of commonly used Linux commands!
- Summary of Docker basics!
- Summary of Maven basics!
- Nginx high-frequency interview questions
comminicate
If you want to join the technical and interview exchange group , you can scan the QR code below to add me on WeChat, and add the group in the comments , and I will invite you into the group. There are BAT bosses in the group, let’s learn from each other~
Appreciate
If you think this warehouse is helpful to you, you can treat Dabin to a cup of coffee (you can leave a note when you appreciate it~)
I will record every compliment below. Thank you. I will work harder and move forward~
date | source | user | Amount | Remark |
---|
2021.11.19 | WeChat payment code | *open | 6.66 yuan | support! |
2021.11.25 | Alipay payment code | *ocean | 1 yuan | |
2021.12.10 | WeChat payment code | Hao*y | 10 yuan | |
2021.12.15 | WeChat payment code | biubiu* | 6.66 yuan | good |
2022.02.17 | WeChat payment code | *together | 8 yuan | |
2022.05.03 | WeChat payment code | *ha | 2 yuan | |
2022.06.12 | WeChat payment code | *Can | 8.8 yuan | |
2022.10.19 | WeChat payment code | *bin | 10 yuan | Please support it and hope it can be continuously updated. |
2022.11.16 | Alipay payment code | *male | 2 yuan | |
2022.12.02 | WeChat payment code | *military | 5 yuan | |