The latest Byte Beat interview experience sharing in 2020, has got an offer (4 rounds of technical side + hr side)

With the opening of the autumn recruitment, whether it is a fresh graduate looking for a job or an in-service programmer who changes to a higher-paying job, he will face the difficulty of an interview. Responding to an interview requires not only a wealth of project experience, but also a solid basic knowledge. Here, I would like to share with you my experience in interviewing ByteDance, including 4 rounds of technical side + hr side, I hope to help you!

Here is also a compilation of Java interview knowledge points for everyone, a total of more than 100 pages of PDF, friends in need can click the link below to get it for free.
Link: 1103806531 password: CSDN

Insert picture description here

one side

  • I introduced myself, and then asked why I learned the front-end
  • Algorithm: Realize 36-ary conversion
  • Briefly describe the principle of https and the difference with http
  • How do processes and threads communicate in the operating system
  • How does the cluster in node enable multiple processes, and can one port be monitored by multiple processes?
  • Implement native ajax
  • vue-router source code
  • Principle of vue (handwritten code to achieve data hijacking)
  • Algorithm: There are several ways to traverse the tree to achieve lower-level traversal
  • Algorithm: Judging a symmetric binary tree

The first interview was very nervous. The interviewer was very kind. During the interview, he asked about the process of the operating system. At that time, he did not remember the operating system. So he mentioned node multi-process. Then the interviewer asked how the cluster started multi-process. And can a port be monitored by multiple processes? After the answer, the interviewer asked when the vue data hijacking was finished, the interviewer asked what other properties of Object.defineProperty besides setget, and I answered configurable enumerable. Vue-router mainly mentioned the hashchange event, etc. By the way, I chatted with the interviewer about h5's historyAPI. The total time is about 50 minutes. After one side, the interviewer asked me to wait for five minutes, and the next two sides started.

Two sides

  • Introduce the difficulties in the project
  • What is the difference between let var const
  • Do you know which http headers
  • How to stay connected with the server
  • http request cross-domain problem, you know which methods to solve cross-domain
  • How to optimize webpack
  • Do you know which request methods, what are their functions and differences
  • What do you think is the difference between typescript and javascript
  • What types of typescript have you used
  • The difference between type and interface in typescript
  • How to optimize react
  • Algorithm problem: Combine out-of-order intervals

When answering the http header, incidentally, I talked to the interviewer about browser caching. When answering cross-domain, the interviewer asked me to use jsonp to implement cross-domain. When answering webpack, he mentioned happypack and treeshaking. I asked about their role. I didn’t write out the algorithm question at the time (mainly because of the dishes). The second side was about 40 minutes to end. After the interview, the interviewer said that hr would contact me later to let me keep the communication. After an hour, hr called to ask me for the third interview time. I have to say that byte efficiency is really high.

Three sides

  • Do you know node multi-process
  • How to communicate in the node process
  • Can node enable multithreading
  • Algorithm question: The teacher divides the cookies. Each child can only get one cookie, but the size of the cookie that each child wants is not the same. The goal is to satisfy as many children as possible. If the child's request is 1, 3, 5, 4, 2, and the cookie is 1, 1, at most one child can satisfy. If the child's request is 10, 9, 8, 7, 6, and the cookie is 7, 6, 5, it can satisfy up to 2 children.
  • Algorithm problem: Given a positive integer sequence a, for each interval, we can calculate an X value; the definition of X value is as follows: For any interval, its X value is equal to the smallest number in the interval multiplied by all in the interval Number sum; now you need to find the interval with the largest X value among all the intervals in the sequence a; for example, the
    sequence a is: 3 1 6 4 5 2; then the interval with the largest X value is 6, 4, 5, X = 4 * (6+4+5) = 60;

It is about 1 hour on three sides. The interviewer is relatively indifferent, so I ask if you know the algorithm idea, and then implement the algorithm. After the interview, I feel cool, but I received a call from hr the next day, about the next round of interview time.

All sides

  • Algorithm problem: two ordered linked lists and merged into one ordered linked list
  • What is the difference between https and http (I was also asked on one side)
  • What are the attributes of cookies
  • What is the difference between cookie, session, localstorage, sessionstorage
  • How to prohibit js from accessing cookies
  • What are the attributes of position
  • What status codes do you know
  • What is the use of options request method
  • What is the role of less, sass
  • How to study
  • When can you come to achieve
  • How long can you intern

Four sides can be regarded as a relatively simple interview. After the interview, hr called on the next night, about the time to meet hr.

hr noodles

  • When did you touch the front end
  • How to study
  • What is the plan for the future
  • Which project are you impressed with, talk about the difficulties of the project
  • What do you know about our company
  • How long can the internship last?

The hr interview mainly talks about life ideals and future plans. It takes about half an hour to complete four rounds of technical aspects + one round of hr interviews. I have learned a lot. The interview is also a process of learning to test yourself. I reviewed it for about a week before the interview. At the time, I looked at the previous code. ByteDance pays more attention to algorithms. Before the interview, I checked the Leetcode and Jianzhi offer, and I also checked some of the experience on Niuke.com. . Probably that's it, and write the code~

At last

Hope this article is helpful to everyone!

I have also compiled a complete set of video tutorials for architects and systematic materials on java, including java core knowledge points, interview topics, and the latest 20 years of Internet real questions and e-books. Friends in need can click the link below to get it for free!

Link: 1103806531 Password: CSDN

Insert picture description here
Insert picture description here

Guess you like

Origin blog.csdn.net/XingXing_Java/article/details/108755037