Why don't you ask me about Java in the ByteDance interview? ? ? ?

Start

Originally, the interviewer asked me to wait for the second side at 2 pm on the 14th. After the second side, the interviewer asked me to wait for the third side, and then waited for a while and said that the three-sided interviewer was not there. , Next appointment time. . . . It seems to be connected on three sides, which is really difficult

 

I learned java, and I didn’t ask any questions about java during the two interviews, which was a bit uncomfortable haha

Below are my face sutras and my questioning information!

ByteDance back-end internship experience, one side + two sides + three sides (offer has been received)

Hey, pictures of bytes

One side (40min):

1. Introduction

2. The difference between process and thread

3. CPU scheduling algorithm?

4. Tell me about the specific implementation of the priority scheduling algorithm? (will not)

5. How to evaluate thread priority?

6. What are the parts of the process context?

7. The difference between process switching and thread switching, why is the overhead of thread switching smaller?

8. select,poll,epoll

9. From epoll to interruption, ask about the concept of interruption

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

11. Which system calls will switch from user mode to kernel mode, and when will the switch state be displayed (just think of read and write, the interviewer laughed haha)

12. MySQL query process

13. Will there be no index

14. MySQL optimization (sql statement, index, cache, cluster read and write separation)

15. Leftmost matching principle

16. MySQL transactions and isolation levels

17. The two-phase commit process of redo log

18. Talk about commonly used design patterns (factories, singletons, agents)

19. Code question 1: Merge two sorted arrays (this interviewer, I love it)

20. Code question 2: Maximum subsequence sum of array

 

Two sides (70min):

1. Binary tree, AVL tree, red-black tree

2. What is the difference between Java and Python, their advantages and disadvantages, and what makes you feel comfortable?

3. Features of dynamically typed languages ​​and statically typed languages ​​(don’t understand, answer badly)

4. Understanding of OOP

5. Are statically typed languages ​​suitable for OOP (do not understand)

5. The characteristics of TCP and UDP, where are their respective applications

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

7. Two algorithms for congestion control, retransmission mechanism

8. Wave four times, the state of each end

9. The whole process of Https request

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

11. What is the difference between MySQL and Redis (I didn’t say that Redis is an in-memory database, but I was reminded by interviewers)

12. Why is Redis single-threaded performance so good?

13. Coding good practice principles, kiss principles, solid principles (don’t understand)

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

15. The difference between text and varchar

16. How to prevent others from directly calling the interface with curl (don’t understand)

17. Log level, what level to use in what scenario (not very familiar)

18. Distributed, CAP theory, microservices (to talk about concepts)

19. Code question: LRU

 

Three sides, afternoon on the 17th (40min):

 

First of all, I briefly talked about life, and I thought it was hr noodles. . .

Asked me about the project, I said I hadn’t done it before, and the whole interview was done with two topics: 1. Write an array that can be automatically expanded. I asked if thread safety should be considered. The interviewer said that the more perfect the better, I wrote it according to the idea of ​​CopyOnWriteArrayList. A, but every time the expansion is expanded twice. Then there is a small problem with the expansion lock, just like the singleton, the interviewer reminded me, go in and check if there is any out of bounds 2. Design a database of the student selection system, ask which tables are needed and what to put in each table , And then write sql. . The sql is not very well written. The several tables that I wrote are fully connected, so I use sub-query optimization. At that time, I didn't write it out. The sub-query still wrote a Cartesian product. . The performance was not very good, and the questions were not difficult, but
it didn’t take long for me to finish the two questions at the time . The interviewer asked me what I wanted to ask. It was a bit daunting. At first glance, more than half an hour passed. I asked the interviewer why they didn’t ask about java for three rounds of interviews. The interviewer said that java is written on your resume. Everyone knows jvm and gc. There is nothing to ask. It is a bit of luck to ask. You know it once, but you don’t know if you haven’t read it. . .
Then it's over. Waiting for the news, I don't feel much hope. I didn't perform very well on both sides and three sides. I suggest that there should be a project to support it. I
received the offer on the afternoon of the 18th! Happy

Share my preparation before the interview

Share with you my learning materials

This is a piece of information about 1,000 interview questions. It's really awesome! There are basically all the questions asked!

All learning materials add assistant vx:bjmsb10 for free;

ByteDance back-end internship experience, one side + two sides + three sides (offer has been received)

 

Part of the interview questions and answers

MyBatis interview questions

ByteDance back-end internship experience, one side + two sides + three sides (offer has been received)

 

Java concurrent programming

ByteDance back-end internship experience, one side + two sides + three sides (offer has been received)

 

Spring interview questions

ByteDance back-end internship experience, one side + two sides + three sides (offer has been received)

 

end

The end of the year is about to come. I hope everyone can find their favorite job in the coming year and send it out!

Guess you like

Origin blog.csdn.net/javachengzi/article/details/112723948