As the fall recruitment season begins, whether it’s fresh graduates looking for a job, or current programmers looking for a higher-paying job, interviews are a challenge. Not only does it require extensive project experience, but it also requires a solid foundation of knowledge. Here, I would like to share with you my experience of interviewing Bytedance, including four rounds of technical and HR interviews. I hope it will be helpful!

Here is also for everyone to sort out a Java interview knowledge, a total of more than 100 pages of PDF, friends who need to see the end of the article

One side

  • Introduce yourself and then ask why learn the front end
  • Algorithm: to achieve 36 base conversion
  • This section describes the principles of HTTPS and the differences between HTTPS and HTTP
  • How do processes and threads communicate in the operating system
  • How does cluster enable multiple processes in node, and can a port be listened on by multiple processes
  • Implementing native Ajax
  • Vue – the router source code
  • Vue principle (handwritten code, data hijacking)
  • Algorithm: tree traversal there are several ways to achieve the lower level traversal
  • Algorithm: judge the symmetric binary tree

In the first interview, I was nervous at that time, and the interviewer was very kind. In the interview, I asked about the process of the operating system. I didn’t remember the operating system at that time, so I mentioned node multi-process. DefineProperty is a different enumerable property, which is different enumerable. If you use different enumerable, you can control different enumerable. The Vue-Router mentioned the Hashchange event and talked about the H5 historyAPI. The total time was about 50 minutes. After one interview, the interviewer asked me to wait for five minutes. Then the second interview began

Second interview

  • Introduce the difficulties in the project
  • Let var const what’s the difference
  • You know which HTTP headers
  • How do I stay connected to the server
  • HTTP request cross domain problem, you all know the solution to cross domain
  • How is Webpack optimized
  • You know what request methods are, what they do and what the differences are
  • What’s the difference between typescript and javascript
  • Typescript what types do you use
  • Typescript the difference between Type and interface
  • React optimizer
  • Algorithm: Merge out-of-order intervals

When answering the question about HTTP headers, I talked about browser caching. When answering the question about cross-domain, the interviewer asked me to use JSONP to implement cross-domain. When answering the question about webpack, I mentioned happypack and Treeshaking, and the interviewer asked about their functions. I didn’t write out the algorithm question (mainly because of the food), and the second interview ended in about 40 minutes. After the interview, the interviewer said that HR would contact me later and asked me to keep in touch. Before an hour, HR called me to arrange the third interview

On three sides

  • Do you know node multiprocess
  • How do Node processes communicate
  • Can Node enable multi-threading
  • Algorithm: The teacher distributes cookies, each child can only get one cookie, but each child wants different sizes of cookies. The goal is to satisfy as many children as possible. If the child’s request is 1, 3, 5, 4, 2, cookies are 1, 1, at most 1 child can meet. If the child’s request is 10, 9, 8, 7, 6, cookies are 7, 6, 5, at most 2 children can meet.
  • Algorithm: Given a positive integer sequence A, for each interval, we can calculate an X value; The x-value is defined as follows: for any interval, its x-value is equal to the smallest number in the interval multiplied by the sum of all numbers in the interval; Now you need to find the interval of a, the interval with the highest X value; All column a is: 3 1, 4, 5 6 2; Then the maximum range of X value is 6, 4, 5, X = 4 * (6+4+5) = 60;

The three interviews lasted about an hour, and the interviewer was quite indifferent, so he asked you if you knew the algorithm idea, and then implemented the algorithm. After the interview, I felt cool, but the next day I received a call from HR to arrange the next round of interview time.

All around

  • Algorithm: The sum of two ordered lists forms an ordered list
  • What’s the difference between HTTPS and HTTP?
  • What are the properties of cookies
  • What is the difference between cookies, session, localstorage and sessionstorage
  • How to prevent JS from accessing cookies
  • What properties does position have
  • You know the status codes
  • What does the options request method do
  • Less,sass what do they do
  • How to study at ordinary times
  • When can you make it happen
  • How long can I practice?

It was a relatively simple interview. Hr called the next night to make an appointment with hr

Hr side

  • When did you touch the front end
  • How to study at ordinary times
  • What are the plans 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 I practice and so on

During the HR interview, we mainly talked about our life ideals and future plans. It took about half an hour to finish the four rounds of technical interviews and one round of HR interviews, during which we learned a lot. The interview is also a process of learning and testing ourselves. Before the interview, I brushed leetcode and offer, as well as some interviews on niuke.com. That’s all I have to say. I went to write code

The last

Hope this article is helpful!

I have also compiled a full set of video tutorials for architects and systematic materials about Java, including Java core knowledge points, interview topics and the latest Internet questions in 20 years, e-books and so on. Friends in need can see the end of the free receive!

\



How do I get it?

\

This article is shared from wechat official number – May Heaven have no BUG (MA214617). If there is infringement, please contact [email protected] to delete. This article participates in “OSC source innovation Program”, welcome you to join us and share with us.