Writing in the opening
Compared with previous years, this year’s spring recruitment is not so smooth, more or less affected by the epidemic, but to my surprise, the first company to give me an interview is universe Bar. When I received the interview notice at the beginning, I felt very complicated, nervous and excited. Bytedance is a well-known test algorithm, but actually my algorithm part is relatively weak. The interview, a total of three rounds, a total of about four hours, the three rounds of interviews for me, is simply soul torture, as for the outcome, read!
Bytedance, three rounds of interviews, four hours, soul searching, and I cried at the end but I won’t dare to do it again
Without further ado, how about the specific interview scene, everyone see the officer holding a field. In addition, the answers to the interview questions and review materials involved in the following are shared in a complete PDF version. If you need some friends, please help to forward them and add assistant Vx: Yunduoa2019 after paying attention to them or scan the two-dimensional code below and follow the guidance of the assistant to obtain them by yourself
First interview: 1 hour 28 minutes
- To introduce myself
- What is a database index for?
- Section of the page type
- Virtual memory
- Missing pages interruption
- Major/Minor Page fault difference
- TLB role
- Process/thread and virtual memory relationship
- If you don’t hear me clearly, just say no
- Tell me about the JVM, how do you understand memory leaks
- Garbage collection mechanism, garbage collection algorithm to explain, how to judge is the old age, trigger garbage collection when?
- BIO, NIO, AIO
- select poll epoll
- RMQ algorithm
- Lock-free queue implementation details
- Database ACID
- Laboratory project
- Why is the bottom layer of vector increased by 1.5 times
- Algorithm part:
(1) Give me a positive integer, check if it’s 2 to the NTH power, and he says the fastest way to do it is not to recurse, okay? It has to be a way of doing things. What can you think of as a number operation, besides addition, subtraction, multiplication and division? This place talked a lot, too many calculations, but the feeling is not what the interviewer wants, I finally explained the binary shift, only to get his point, asked what else, he finally asked me why I did not mention the or, and how many binary numbers for me to calculate the result of the or
(2) to an array, the array with RGB three species, quantity and order complete disorder, and give an algorithm according to the r in the front, he wants g is in the middle, b all behind, calculated using the algorithm of mobile number, this place has been called me write algorithm to optimize the, it’s driving me crazy, I said I want to give up, He said you had a strong curiosity on your resume, so I had to think about it. I laughed and then I relaxed and continued thinking. It was psychological warfare
Second interview: 1 hour and 11 minutes
- To introduce myself
- Ask me computer network, operating system, composition principle, data structure which learn best? He asked me to explain in detail what I was most familiar with, because I had read a lot about it during my internship
- Can YOU secure your data using HTTPS?
- Which layer of the network model does THE HTTP protocol reside in
- What is the essential difference between TCP and UDP? This place digs more deeply into data reliability
- Practice with HTTP protocol to do things, HTTP status code to explain
- HTTP requests, get, POST, whatever else
- Is there a problem with using POST to get data? What’s the difference between GET and POST
- The difference between C and Java, essential difference
- What are the characteristics of object orientation? When to use inheritance and when not to use inheritance? Have you ever come across this use? Why does inheritance break encapsulation?
- Has multithreading been used in real projects? For what?
- How to solve multi-thread security problem? How to solve the actual project, scenarios and solutions
- Multi-threaded collaboration, what else is there besides locks?
- Explain the semaphore. What’s it for?
- How do deadlocks occur?
- What if a deadlock occurs?
- Banker algorithm?
- Algorithm part:
(1) There are a lot of cardboard boxes, each cardboard box inside a cardboard box, one of them has a coin, how to find the coin, write the algorithm
(2) what is the tree traversal method, write a binary tree front order traversal calculation method
Round 3:1 hour and 15 minutes
- Let me introduce myself
- Tell me one of the most challenging things about working on your own project
- Compare the advantages and disadvantages of mysql and mongodb
- Mysql uses join to connect to mongodb
- What is the difference between mongodb and mysql in the way of redundant fields
- Information has changed, name has changed how do you deal with these redundant fields?
- Will alternate games in mongodb be used (for example)
- Pipeline operation mechanism is what, if you do mongDB execution engine, their own design a way to design this pipeline
- I answered this question for a long time, because I didn’t understand pipeline at all, so I stuck to design.
- What problems do you think Docker can solve? Why use Docker for deployment? What are the benefits?
- How to implement file system mechanism in Docker?
- Inside docker root CD, can jump out of the sandbox back to the host?
- Asked me the level of front-end knowledge? React and jquery?
- Let’s go straight to the algorithm
(1) Find the nearest parent node, given two examples, almost leetcode medium difficulty
(2) Open question: The cat catches the mouse, the cat is in the middle of the circle, and the mouse is on the circumference of the circle with the same speed. I ask the cat if he can catch the mouse. He is not satisfied with my answer to this question
The ending
Of course, the end is cool, there is no fourth notice, but this experience to my feelings is still very different, but also for my next interview accumulated experience. After the plan to cast a few Internet big factories, hope to be able to smoothly benefit, received good news.
In addition, the answers and specific analysis of the above three questions are arranged in the document, the article is not limited to share here, if you need to help forward, add assistant Vx: Yunduoa2019 or scan the two-dimensional code below, follow the guidance of the assistant to obtain
Bytedance, three rounds of interviews, four hours, soul searching, and I cried at the end but I won’t dare to do it again
How did I prepare for the bytedance interview?
Step 1: Prepare your resume
Preparing a resume does not mean you can download a template from the Internet and then tweak it and use it. Careful preparation of the resume, need to pay attention to three points: (1) pay attention to distinguish: understand, familiar with, proficient, do not write, the interviewer many questions are based on the resume description; (2) Professional knowledge and project experience in the essence is not much, especially the project experience must be familiar with and have content to say, do not think that the more written the better. (3) to be familiar with their own resume content, accurate grasp, it is best to read their own resume.
If you still don’t know how to prepare your resume, I can share the resume template I collected for your reference, hoping to give you a qualified stepping stone.
Bytedance, three rounds of interviews, four hours, soul searching, and I cried at the end but I won’t dare to do it again
Bytedance, three rounds of interviews, four hours, soul searching, and I cried at the end but I won’t dare to do it again
Step 2: Review + summarize
The interview period is getting closer and closer and more anxious, this time it is more necessary to adjust their state of mind, sink into the review, to learn to fill gaps in each knowledge point, learn to do more summary.
As for the review and summary, I also sorted out a lot of materials, which are my harvest, and can also share if necessary.
Such as:
Bytedance, three rounds of interviews, four hours, soul searching, and I cried at the end but I won’t dare to do it again
Bytedance, three rounds of interviews, four hours, soul searching, and I cried at the end but I won’t dare to do it again
Bytedance, three rounds of interviews, four hours, soul searching, and I cried at the end but I won’t dare to do it again
Step 3: Brush the questions
- Java base series: Tomcat+Mysql+ Design mode + concurrency +Netty+JVM
- Open source framework series: Spring+SpringMVC+MyBatis
- Microservices architecture: Dubbo+SpringBoot+SpringCloud
- Distributed database series: Memcached+Redis+MongoDB
- Distributed communication series: ActiveMQ+RabbitMQ+Kafka
- Distributed traffic limiting system: Nginx+ ZooKeeper
- First-line Internet big factory calendar year true series
- Algorithm of bible
Bytedance, three rounds of interviews, four hours, soul searching, and I cried at the end but I won’t dare to do it again
The interview panel
Bytedance, three rounds of interviews, four hours, soul searching, and I cried at the end but I won’t dare to do it again
Bytedance, three rounds of interviews, four hours, soul searching, and I cried at the end but I won’t dare to do it again
conclusion
No matter which company, attach great importance to the foundation, especially for fresh graduates, so the foundation must be solid before the interview. The interview is a two-way selection process, do not hold the mentality of fear to interview, is not conducive to their own play. It’s not just the salary you’re looking for, it’s whether you really like the company and whether you’re getting a real workout. In fact, I have written so much, just my own summary, not necessarily applicable to everyone, I believe that after some interviews, you will have these feelings.
In view of the above interview techniques, I also do some information to share here, hoping to better help you.
If you need a friend, please help to forward it and add assistant Vx: Yunduoa2019 after following it or scan the QR code below and follow the guidance of the assistant to obtain it by yourself