start

I was supposed to meet at 2:00 p.m. on 14th, but after the interview, the interviewer asked me to wait for the second interview, and then I met in a row. After the second interview, the interviewer asked me to wait for the third interview. It looks like it’s going to be on three sides. It’s really hard

 

I learned Java, and then I didn’t ask any Questions about Java in the two interviews

Below have my face classics as well as my brush topic data!

Hey hey, picture of byte

A (40 min) :

 

1. Introduce yourself

 

2. The difference between processes and threads

 

CPU scheduling algorithm?

 

4. Talk about the specific implementation of priority scheduling algorithm? (don’t)

 

5. How about thread priority?

 

6. What are the parts of the process context?

 

7. The difference between process switching and thread switching. Why is thread switching cheaper?

 

Select, poll, epoll

 

9. What is the concept of interrupt

 

10. From interrupt chat to the difference between user and kernel mode

 

11. Which system calls switch from user mode to kernel mode, and when the switch state is displayed

 

MySQL > select * from ‘MySQL’

 

13. Can there be no index situation

 

MySQL optimization (SQL statement, index, cache, cluster read/write separation)

 

15. Left-most matching principle

 

MySQL transaction and isolation levels

 

Redo log two-phase commit process

 

18. Talk about common design patterns (factory, singleton, agent)

 

19. Code problem 1: Merge two sort arrays (this interviewer, love love)

 

20. Code problem 2: The maximum subsequence sum of an array

 

Second interview (70 min) :

 

1. Binary tree, AVL tree, red black tree

 

2. What are the differences between Java and Python, their strengths and weaknesses, and what do you feel comfortable with

 

3. Dynamically typed languages and statically typed languages

 

4. Understanding OOP

 

5. Are statically typed languages suitable for OOP?

 

5. What are the features of TCP and UDP

 

6. Sliding window, delayed confirmation mechanism, why delayed confirmation

 

7. Two algorithms of congestion control, retransmission mechanism

 

8. Four waves at each end

 

9. Https request process

 

10. Why is symmetric encryption used to transmit data? Why is symmetric encryption faster than asymmetric encryption

 

11. What is the difference between MySQL and Redis?

 

12. Why is Redis performing so well in single threads?

 

13. Coding Good Practice Principles, KISS Principles, Solid Principles

 

14 personal blog how to do, how to design the database (no project, personal blog just started to do. Can’t answer)

 

15. Difference between text and VARCHAR

 

Do you want to delete something with curl?

 

17. Log level, which level is used for which scenario (not very well understood)

 

18. Distributed, CAP theory, microservices (explained concepts)

 

19. Code: LRU

 

Third side, 17th afternoon (40min) :

 

First of all, we had a brief chat about life. I thought it was hr.

Asked me about the project, I said I had never done it before, and then the whole interview consisted of two questions: 1. Write an array that can be automatically expanded, I asked whether I should consider thread safety, the interviewer said the more perfect the better, so I wrote it according to the idea of CopyOnWriteArrayList, but each time the expansion was twice. Then there was a small problem with the lock, just like the singleton. The interviewer reminded us that we should check again if we crossed the boundary. Design a student select a course system database, ask what table, each table put what, and then write SQL. SQL write is not very good, write a few tables fully connected, let me use subquery optimization, did not write out at that time, subquery or write a Cartesian product. Act is not very good, the topic is easy, but the meng finish feel forced the two topics before long, the interviewer asked me what I want to ask, mentally, a look of the time in the past more than half an hour I asked by the interviewer why didn’t ask Java three rounds of interview, the interviewer said you wrote a Java will resume, JVM, Gc As you all know, there’s nothing to ask, it’s a bit of luck to ask that… Then it was over, waiting for the news, but there was not much hope. The performance of the second and third aspects was not very good, so I suggested that there should be a project to support it. I received the offer on the afternoon of 18th. happy

Share my preparation before the interview

Share my study materials with you

This is a 1000 interview questions of information, really is a gee, gee, super awesome ah! Basically there are all the questions asked!

Documents in the article, interview information can be obtained by scanning code!!

 

Some interview questions and answers

MyBatis interview questions

 

Java concurrent programming

 

Spring interview questions

 

At the end of

It is the end of the year, I hope you can find your favorite job in the coming year, hair hair!