Interview byte beating graded 2-2, took 32*16 offer, the algorithm tutorial of P8 big guy gave me spring!

Preface

When you started to go for job-hopping interviews, it was obviously only a 15K job, but you were asked if you would be multi-threaded and if you understand high concurrency. The rocket made you off guard, and the result is cool; nowadays Market, multi-threading, high-concurrency programming, distributed, load balancing, clustering, etc. can be said to be the necessary skills for advanced back-end development.

Early birds had worms, but nowadays the barriers to development are getting higher and higher

However, there are specialties in the technical industry, and there are always some skilled programmers who can beat and crush the interviewer!

I often secretly submit some resumes at intervals and ask for leave to go out for interviews several times. The purpose is not to change jobs. The main purpose is to see the technology trend in the market and check my level by the way. Of course, if I meet my favorite company or Dachang, isn't that better, hahaha!

Some time ago, I received an interview with Bytedance. Although I was a little shocked, I still treated it with a normal heart. As a result, if I was not careful, I hanged the interviewer during the interview.

The interview process lasted for an hour and a half without getting stuck, the projects and algorithms were all done, and even talked about the interviewer’s blind spots...

...... of course, it is the result of successfully received byte beating Offer, rated as 2-2 senior R & D personnel.

Personal experience

In fact, I haven't had a formal interview for a long time. When I switched from Shuyun to GIO three years ago, because the relevant technology on the resume was too matched, I basically talked to the CTO and determined it was over; later when I returned to Shuyun, I had a drink with the director. The coffee is back. That is, in about 5 years, I have not accepted an interview formally.

So before I was ready to vote ByteDance, I voted for several companies and did a warm-up event. Remember, there is no need for psychological baggage at this time. Because the chances of success in the interview of their own candidates are relatively low, they are also happy to see a suitable candidate who can be interviewed, and in case you really want to change jobs, but your favorite company is not available, and the warm-up company gets it. offer, you can also consider looking at it. And you don’t have any psychological baggage at this time, because you are here for the interview anyway, so your performance during the interview may be better, so maybe the final offer will be better than the one you want to go to. What?

Interview preparation

To be honest, I usually look at some interview questions when I am fine, so I always go to the face directly

I suggest that if you are preparing for an interview, you need to make the following preparations

Recite: Take a look at the recent face-to-face scriptures to understand what types of questions the company is dealing with now, prepare some common questions, let’s recite! If some basic js is not good, then the problem is a little big.

Algorithm: Do some algorithm problems. One or two three stars on the leetcode is enough. The front-end algorithm is very simple, and it is basically the difficulty of junior high school math.

Project: Project review. You must understand enough about the project from the technical architecture to the source code, at least not to be asked by the interviewer during the interview. And to reflect your role in the work, reflect self-driving. (Big companies value self-drive).

Highlights: Prepare the highlights. When answering the questions, you don’t need to answer all of them, but there must be highlights in the interview process (otherwise you will get feedback, the interviewer says you are okay, but you haven’t done it~) I usually prepare a few Point, each point is guaranteed to sleep for half an hour. In addition, you must understand it deeply and be able to express it smoothly in your own words! ! (Some points I prepared, performance optimization, engineering, caching, http)

Interpolation: It is best to find someone to interpolate, the success rate will increase

Practicing hands: first find a few companies (of similar scale) that you don't want to go to to practice hands. If you go to the company you like for the first interview, the elimination rate will be very high.

Attitude: Attitude is very important. The interview is normal. It does not prove that you are not good, but not suitable. Summarize the interview experience and prepare for the next time.

How to answer the question?

How to talk about the problem that you know, this is very important

Clear logic must be clear. Otherwise, even if you know the answer to this question, the interviewer will not be satisfied. If you have a clear logic, even if the answer is not, the interviewer will give you extra points.

Uniquely understand that the current interview questions are similar, so how to reflect your advantages is very important. In terms of combining business and your own knowledge reserves.

In-depth thinking. You must have in-depth thinking about each issue, otherwise it will be difficult to enter a large company. In order to get a good result in the interview, you must have a high level of depth.

Expressing fluently in an interview is a process of expression. Some questions cannot be understood in the heart, and they must be expressed fluently. Basically, if the interviewer thinks you are expressing fluently, when you are halfway through, you will not be allowed to speak any more. Prove Already passed

Interview questions you can remember

Handwritten inheritance

Instanceof implementation principle

Promise limits the number of concurrent

The difference between arrow functions and ordinary functions

flex 1 full write

Vue two-way binding principle

https implementation principle (the more detailed the better)

How to communicate between node processes

How graghgl optimizes request speed

The difference between node and browser event loop

Browser rendering process

How to optimize performance

What are CDN optimizations

The principle of webpack plugin, how to write a plugin

What are the caches and what are the differences

Handwritten bind, reduce

Anti-shake interception

Traverse the tree to find the maximum number of levels of the tree. Find the maximum number of nodes in a layer

What are the methods for node to start the process and what is the difference

How is node deployed

What did the node check phase do and what events were triggered

Understanding of front-end modularity

How node handles errors

Implicit conversion

How are numbers stored in computers

webpack optimization

How webpack's require finds dependencies

How webpack implements dynamic loading

Give you a project, how do you think about it from the beginning

What does the workflow do

How to improve efficiency and performance

What is the future plan

What are cross-domain

cyber security

The difference between linked list and array

Variable promotion let const var difference

How to traverse the linked list

The difference between async and defer in the script tag

Of course, the most important thing is to brush the questions. After all, I haven't had a formal interview experience for several years. So I asked my classmates in Ali to come to a series of interview questions compiled by their company P8. Now I have joined ByteDance. These interview questions are not of much use to me, so I share them here for free. Due to the limited space, I won’t introduce too much. Please make up your own mind. , Friends who need this Java core knowledge and answers to interview questions from major manufacturers can add assistant VX: MXW5308 to receive it for free

Bytedance interview experience

Byte beating side

First introduce yourself, balabala...... (three minutes omitted here)

1. Find a project of yours and talk about it. First, introduce your project, what responsibilities you have undertaken, what work you have done, and the difficulties

It varies from person to person, so I won’t repeat it, balabal... (three minutes omitted)

2. It can be seen from your project that you are using mysql. What are the int data types of mysql? From small to large, how many bytes each occupy?

3. What are the int in java? How many bytes

4. Ask you about the computer network, the three-way handshake of tcp?

5. The difference between tcp and udp

6. You said you are familiar with linux, I will give you a case, search out the IP with the most occurrences in the log text, and give the number of times

7, talk about java gc

8. Talk about the data structure of hashmap

9. What is the time complexity of haspmap for a search?

10. Let me show you an algorithm. There is an infinitely long integer array, sorted from small to large, non-increasing. So how to find a key in the array

Small talk

Then I asked which book I read recently, what I learned, and what techniques are I still learning recently? I asked about my career plan, hobbies, and the language selection of the company. Later, I asked about my interview performance evaluation. It was inconvenient for others to say, and I also asked about newcomer training and other issues.

Byte beating

Self introduction

balabla

1. Then talk about the index structure of mysql

2. Look at a question, how to create an index for this question

The mysql order table has several attributes: order id, user_id, order date date (accurate to the day), etc. How to create an index

a. Query all orders of a user

b. Query all orders on a certain day

c. Query all orders of a certain user on a certain day

Look at the second question

10G file, each line has a uint32 number. There is a machine with 1G RAM

-A. Find the largest number of k

-B. Find duplicate numbers

Third question

I have a pile of playing cards in my hand, but the audience does not know its order.

In the first step, I took a card from the top of the card and put it on the table.

In the second step, I take another card from the top and place it at the bottom of my hand.

In the third step, repeat the operations of steps 1 and 2 until all the cards in my hand are placed on the table.

Finally, the audience can see the order of the cards on the table is: 13\12\11\10\9\8\7\6\5\4\3\2\1 Excuse me, the order of the cards I just held in my hand What is it? Use the code to achieve the following

Byte beating on three sides

This interviewer should be at the director level. He speaks very hard. He must be a senior boss. He has interviewed for more than 40 minutes. I didn't ask about the basics of regular interviews, it was pure projects and algorithms.

1. Introduction

balbala

2. What do you think are your current difficulties? Difficulties on the project?

3. How big is your project database? What is the QPS? Which SQL is slower?

I won’t talk about the project...balaba

4. If you think the qps will be bigger in the future, how should you design it?

5. Give you an algorithm problem, take a look at the ideas

Let's talk for two minutes, what do you want to ask me

balabala

Four sides (HR side, about 35 minutes, mainly asking about personal career planning, salary and treatment, and expectations for byte beating, etc.)

Java core knowledge points

A successful interview is actually inevitable, because I have done enough preparations, including brushing the questions, looking at some core knowledge points of Java, and reading some interview blogs to learn from everyone’s interview experience. The following PDF is my review For about a month or so, the blogs of some major Java bloggers took the essence from them and went to the core knowledge points of Java, all of which are the essence of the essence. I can interview until now 2-2 senior Developers have an inseparable relationship with the Java core knowledge points I have compiled, and I share them with friends here in a win-win mentality.

This PDF includes JVM, Java collection, Java multi-threaded concurrency, Java basics, spring principles, microservices, netty and RPC, network, log, zookeeper, kafka, rabbitMQ, hbase, mongoDB, cassandra, design patterns, load balancing, Database, consensus algorithm, Java algorithm, data structure, encryption algorithm, distributed cache, Hadoop, spark, storm, YARN, machine algorithm, cloud computing.

Due to the limited space, I won’t do too much introduction. Please make up your own mind . Friends who need this Java core knowledge and answers to interview questions from major manufacturers can add assistant VX: MXW5308 to receive it for free

 

Put last

In general, if you have a big company you want to go to, you must improve yourself so that your abilities and qualities can match the company. I have always believed that opportunities are always reserved for those who are prepared. Whether it is studying or working, there should be initiative, so if you have the dream of a big factory, you must work hard to realize it yourself.

The above learning materials are all free of charge. Finally, I wish you all good health and successfully get your favorite offer!

Guess you like

Origin blog.csdn.net/weixin_45132238/article/details/109315297