Speaking of the beginning of the interview, it was the morning of the first week of July. I was still on the company’s subway and suddenly received an interview call from Pinduoduo HR. I communicated with me if I was interested. I expressed interest and agreed with each other. At the first interview time, you will receive a formal interview notice later.
I have been working for my old club for a few years, and I feel that I have encountered a bottleneck. I feel that progress has been slow in the past year. I don’t have the sense of accomplishment of rapid growth in the past. In addition, my old club’s business and technology are relatively stable. On the one hand, I look at my own strength, on the other hand, I hope to break through the status quo and continue to advance in technology.
-----Pingduoduo Java R&D post 1234 interview process and interview questions----
one side
- What are the components of the thread pool, which thread pools are there, how to use them, and what are the rejection strategies
- Write an algorithm to traverse the tree level and output the level of each level
- Write a question, post-order traversal of binary tree, non-recursive algorithm.
- When will deadlock occur in multithreading, write an example
- Talk about the optimization of hashMap and the optimization of concurrentHashMap in jdk1.8
- How to resolve the hash conflict, and if there is a conflict, how to find the target value in the hash table
- There are 1000 data stored in the hashmap, what is the actual number, considering the load factor and expansion
- What are the common RPCs? The corresponding difference and performance comparison?
- Operating system's user mode and core mode switching conditions and why they need to be switched
- Communication method between threads, asynchronous queue, delayed message acquisition
Two sides
- How to do MySQL master-slave replication
- MySQL index, the benefits of using B+ tree index
- MySQL performance view and how to optimize
- How does Redis cache
- Redis persistence operation
- How to use redis to process hot data
- The TCP three-way handshake process, if there is no third handshake, what is the problem.
- How to implement distributed locks
Three sides
- Do you know cap, what do you mean?
- Network programming nio and netty related, netty thread model, zero copy implementation
- Is Redis single-threaded or multi-threaded? How to do Redis distributed cluster?
- What are the distributed message queues (Kafka, etc.)? Which ones have you used? What specific application scenarios?
- How do you do load balancing, why do you do it? Have you ever learned about cluster avalanches?
- Talk about the realization of peak shaving and current limiting in high concurrency scenarios?
Four sides (HR)
- Why quit?
- What is the expected salary?
- How to treat overtime issues?
- How do you usually learn technology, besides Java-related, what other technologies will you learn about?
- What are the plans for the next few years?
Summary of questions and answers
Share some java interview materials collected over the years for everyone to learn, BAT must-have interview questions with answers, hope to help you forward + follow me to add VX: MXW5308 to get the interview questions and answers (you must forward to get them)