# Preface

This content comes from me 16 A senior student who graduated in , First in 58, After Ali , Now I'm ready to change jobs , The following is his recent interview experience （ And the summary of learning materials before and after each interview ）：

I recently left the factory and stayed in Hefei for a month , I have been preparing for more than half a month , from 7 At the end of the month, I started to submit my resume for interview , At present, it is java Senior position , So far it's been done 24+ Company , There are also some intentions in hand offer. Now take a general note of the interview questions you've had against the interviewer . I hope it can be helpful to the friends who are preparing for the interview and those who have failed in the interview . Need full HD PDF File partners just need to like the article , After paying attention to me, there is 100% free access at the end of the article ！

# Hand tearing code serial gun

1. Do you understand the singleton pattern ？ With what kind of ？
2. Write a singleton pattern ？ What's wrong with this singleton pattern ？
3. sychronized How to use the ？
4. volatile Well ？
5. Write a bubble algorithm ?
6. If you have an array [1,2,3,3,4,4,5,6,6,7], Relatively increasing order , Given a value, suppose 3, Print the first index subscript that the value appears in the array ？ Analyze the time complexity of your program .
7. Write a quick sort ？ How to implement non recursion ？
8. Write a binary tree to traverse the order before ？ Non recursive middle order traversal of binary trees ？
9. If you have an array [3,2,2,3,3,4,4,5,6,6,7,4,4,4], There's duplicate data , Now it's time to go heavy , It is required that the array elements after de duplication are consistent with the index order of the original data . Analyze the time complexity and the space complexity ？ Is there a better solution ？ What's the idea ？
10. If you have an array [1,3,7,3,8,4,9,6], Now the index index of two numbers with the largest difference in the array is required . If the index index index is large, the minus index index index is small . Analyze the time complexity and the space complexity ？ Is there a better solution ？ What's the idea ？
11. Writing a LRU Cache, guarantee get/put api All are O(1) Time complexity of ？
12. Write a program to achieve the minimum stack ？

# Network protocol serial gun

1. Do you know network protocol ？
2. The way 7 What layers are the layer network protocols ？
3. Let's talk about it. I input a from the browser url What is the whole process of visiting tmall website ？
4. DNS do ？
5. CDN Understand? ？ What do you do? ？
6. If I visit 12306, It's a slow discovery , How to troubleshoot ？
7. The way http What are the requests for the protocol ？
8. The way https And http The difference between ？
9. The way http What are the status codes of , What does it mean ？
10. The way HTTP in session and cookie The difference between ？
11. The way HTTP The process of establishing links ？
12. RPC Have you ever used a frame ？ Is based on TCP Agreed ？
13. The way TCP The handshake and wave of the agreement ？ Why three handshakes , Four waves ？
14. TCP Slide the window to see ？ What problems have been solved ？
15. If my RPC There's a lot of service Timewait and closewait How to check the links of ？
16. TCP Do you know long links and short links ？ What's the difference? ？ What scenarios do they apply to ？

• At a glance ：

# Design mode serial gun

1. What strategy patterns have you used ？ Take a few examples ？
2. mybatis perhaps spring Have you read the source code ？ Know what design patterns are in it ？
3. java Do you understand the class loading mechanism ？ What design pattern is used ？
4. Has the single case mode been used ？ Write a singleton pattern ？ Are there any other implementation solutions ？ What's the difference? ？
5. Say what is a strategic model ？ What are the advantages and disadvantages ？ Tell me where the proxy model will be used ？
6. If I want to dock with a third-party system , But my own business service agreement doesn't support , If it is supported, there is a certain transformation cost , Which design pattern will reduce the intrusion into the system ？
7. Let's talk about the difference between adapter mode and bridge mode ？
• 23 Design patterns PDF

• At a glance ：

# Business system architecture chain gun

1. Hello , I am a xx My name is... The interviewer of the company xx, You should introduce yourself first ？
2. Tell me what you are good at ？java Back end ？ More specifically ？
3. How do you use these technologies ？
4. Tell me about the projects you are familiar with ？
5. Tell me which systems or large modules you do independently owner Developed ？ What are the challenges ？
6. Draw a business architecture ？ What are the core business models in it ？
7. What are the business areas ？
8. If it's a microservice architecture, how do you divide so many projects ？ Why do you do this ？
9. What do you think is the disadvantage of the architecture model of this system ？
10. DDD Understand? ？ If it's you, how do you sort out domain models ？
11. How do you design engineering architecture and business function modules without relying on any specific framework ？ Tell me what the benefits of doing so are ？
12. Talk about a few business processes that you are familiar with , On paper / Draw on the whiteboard ？
• The way of building cultivation

• At a glance

# hr Serial guns

1. Hello , What do you think of our interview process ？
2. What do you think of our interviewer ？
3. How about the office environment of our company ？
4. What kind of content did you do in your last company ？ What kind of growth ？
5. Why did you leave your last company ？
6. Tell me about your impression of the last company ？ How about the working atmosphere ？
7. Do you have any requirements for your next job ？ What kind of work do you want to do ？
8. What impresses you at work ？ How did you solve it ？
9. Tell me if you have anything else you need to learn recently ？ How do you usually learn ？
10. What do you think you have ？
11. Do you have a girlfriend? ？
12. Our company will have overtime at present , Can you accept ？
13. What is the minimum salary you expect ？
14. How long have you been interviewing now ？
15. There are a few on hand offer？ If you give your offer What's the quickest time you can be employed ？

# Performance optimized serial gun

1. done java Program performance optimization ？
2. If I had one RPC There's a service FGC How to troubleshoot ？
3. If I have a lot of services on different machines , One of the services has a serious timeout. What should I do ？
4. If I find out through monitoring CPU What do you think about the high speed ？
5. One sql The execution is slow. How would you investigate ？
6. RPC Do you understand the principle ？ say something RPC Call procedure for ？
7. If you go to design one RPC Framework in which aspects will you consider the performance and high availability of this framework ？
8. Talk about why service governance is needed ？
9. The introduction of docker/k8s What are the advantages and disadvantages ？
10. What is the continuous integration system you use when you deploy your system ? What are the features to improve development efficiency ？
11. Have you done a performance test ？ How to evaluate the performance of an interface ？
12. If my upstream system calls my interface, the concurrency is high , What should I do ？
13. If you are sensitive to the upstream system delay ？
14. What if the upstream system is the core application and can not limit the flow ？
• Java performance optimization

• Performance tuning practice

# HR:

1. May I ask what time your company usually goes to and from work ？
2. How many people are there in the technical team of your department ？
3. How many people are your company going to recruit in the future ？
4. Is it in a rising period of business ？
5. It's said that your company's recent wind review is not very good , Is it true that ？
6. There are other things on hand now offer, If you can give offer Words , Can you offer any more attractive terms ？
7. Can you give us a brief introduction of the company's welfare ？

# interviewer ：

1. I have no problem now , Do you have anything to ask me ？
2. I'd like to ask you what kind of content you are responsible for now ？
3. What is your department's current position in the company ？
4. How many people are on your department team at present ？
5. Do you have any challenging problems recently ？
6. Has your department considered commercialization of this system ？
7. What does the storage system do ,Mysql？
8. Can you tell me the general content and process of the business you are responsible for ？
9. Let me ask you the question of the interview. Do you have any ideas ？

# Finally, let's have a look at the analysis of the real interview questions of large Internet companies （ With answers ）

• List of contents

Because the article is very long here , It can only be shown roughly in this way

# At the end

At present, many novice programmers who have not entered the industry, including some junior programmers, may be misled by some comments on the Internet , Just like these ：

In fact, the reason for these dilemmas is that they have not yet reached a high level , When you improve your ability , After climbing to a higher level , Both salary and development will be greatly improved . Now the speed of technology update is faster and faster , We programmers as a group stop learning and will be eliminated , This is a very real problem . If you are preparing for an interview or want to learn to improve yourself , Then this document will certainly help you . Need full HD PDF File partners just need to like the article , Follow me and add a little assistant to get 100% free ！

Scroll to Top