Come today to tease bytedance’s interview…… There is a kind of stuckness……

It is said that there are two kinds of people who are destined to be single in this world, one is too excellent and the other is too ordinary.

I listen, ah? That I this is not outstanding, then resolutely and decisively with the girl friend points hand.

People say that the Internet winter, this time also in a large area of recruitment of the company, is bound to force the company. And at this time the brave job-hopping people, is bound to be awesome. I started bytedance’s social recruitment interview

For this day, I had stood in a long line the day before, had a neat haircut and a clean shave.

Wearing a new Balance 999, even the socks are new NB, dark green cargo pants and Burgundy hoodie, over a delicate black down jacket

Show up at your computer screen on time, ready to begin the video interview.

You better be prepared for the headline interview.

One piece of advice I got from my buddy at Headline.

However, the email was clear on the test content, so on the one hand, I did not do too strong psychological construction, it turns out that I may not have a thorough understanding of general business and soft skills. When the time comes, a small room appears, and the interviewer is sitting in it adjusting his posture and seat back. It wasn’t the first time, but I was even more nervous than the first time.

I almost asked the interviewer if he was still with that girl in Zhengzhou these years

Have contact, the child after all is not your……

We confirmed our eyes. We started in the tension and awkwardness of our first meeting. The foreplay parts were similar, including self-introduction, company functions and project introduction.

As a small ape coming out of a small workshop, the project experience is not outstanding. There is no high concurrency and no distribution. The front-end and back-end servers and databases are deployed on the same machine.

In order not to sound too low, he pretended to casually mention that he has his own open source framework on GitHub, but he didn’t care.

When I was done, it was time for him to wave his whip.

I see that you tend to develop your projects independently, or that you take on a large proportion of the projects by yourself.

Can you talk a little bit about the architecture that you used when you deployed your project?

“It’s mainly Django deployment, nginx+ UWSGi +Django+mysql.”

“Can you elaborate on the necessary configuration for nginx deployment?”

“Well, I configured port forwarding in Nginx, listening externally for 80 or 443, and then forwarding to internal UWSGi ports, where UWSGI handles business requests and deploys Django projects.”

Apparently my knowledge of Nginx is limited to configuring a port reverse proxy and trying to fudge the concept.

“No, I mean there are a lot of parameters in Nginx, which parameters are necessary when you deploy your project, and which ones can be tuned.”

The other side saw through my little trick, and did not give me the opportunity to muddle through, but I had to bow to admit, said and had not used other configuration, not very soon got a blow in the head.

“Tell me more about how UWSGi works, how it works underneath.”

Because of the tension, the original knowledge, suddenly become not, speak it agent a service port, allocate different threads processing

Client browser request.

“How did he get there at the bottom? Looks like he’s not gonna leave me alone until I beg for mercy.

. (The words unclear, unknown and forgotten are omitted with a shred of dignity.)

The next is the triad of Redis philosophy: “What is it? Why is that? How do I use it?”

I squeezed the last drop of Redis into three drops and still didn’t give him what he wanted.

Continue to ask how Redis data storage methods, operation methods, read and write operations are implemented at the bottom.

Ah, it’s so deep.

In addition to lowering my head and saying “No”, I have already realized the seriousness of the problem in my heart. Usually, when you say “no” in an interview, the other person will kindly change the direction and continue to go further. This time, I was almost crying.

At this stage, my psychological defense is almost exhausted.

After that, I asked about the storage structure of the table in the relational database. I vaguely remembered whether it was Picasso or Pica tree. After that, I asked about the realization principle of the index, creation

How an index can speed up queries.

In fact, the interviewer’s routine is mostly the same, each technique should be as deep as possible, as deep as you can not, not necessarily torture you can not care for yourself, but

To see how good your skills are.

But now my brain has been unable to complete their own psychological construction, the destruction of IQ and EQ quotient quotient all collapse.

Of course, this can not all blame me, up is three big bludgeons, is Li Yunlong also let brigade commander into meng force, where can also spare energy to open the Italian gun.

Next up is data structures.

The interviewer hit the right spot for me: the pile.

What is minimum heap? What is the biggest pile? How do I insert an element into the heap?

Fortunately for me, I found four different ways to say I wouldn’t, each of which was embarrassing

Wan, and not the same.

Somehow interview a wave of son can’t let somebody else feel me good for nothing, how many still calculate a bit of writing….

In fact, I usually look at even a little more, know that the heap is a balanced binary tree, this series of questions will not be so sad to answer, the interview brain

I remember looking at stacks and queues, I have no idea how a heap is implemented, and then I realize that it is a balanced binary tree.

At this time, I was physically and mentally exhausted. The interview had lasted for nearly 40 minutes, and my mouth began to drift, and I could hardly concentrate on my nervous thoughts

“I feel,” “I guess,” “could,” “should,” and so on.

The death bombardment is not over, then MQ, the technology selection of MQ that I use, why it was chosen, how it was applied in the project, and finally, without exception, how it was implemented underneath? How to ensure a stable consumer producer queue? The answers were interspersed with my unconfident link-ups of “MMMM mm mm oh.”

Every time I begged for mercy and shouted no, no, no, no, no, no, no, no, no, no, no, no, no, no, no, no, no, no, no, no, no, no, no, no, no, no, no, no. I swore that one day, I’d be up there, too.

Finally, we finish with an algorithmic programming, how to sort a bidirectional linked list?

My lost tongue took it on its own and directed the conversation to quicksort, so you can write a quicksort for a two-way linked list, next to this video page

There’s an editor, in any language you want, c++ or python, about 10 minutes, ok.

“Well, let me try it in c++.”

I then confidently def a quickSort function in the editor that takes an array of ints and two ints representing the low and high positions

Add a colon at the end, and indent the next line with four Spaces to show respect.

After writing these sentences, his hands received the news that his brain had broken down ten minutes ago, so he folded his hands to show his helplessness.

One minute passed, and the rest of the time I started writing with a pen and paper. The silent interviewer looked up and thought I was rehearsing an algorithm on paper, but actually I

I was doing my last mental effort to review the question he had just asked me, not to review it after the interview, but mainly because I was going to write zhihu later. Haha, I can

What a smart kid.

During the interview, the interviewer also used their own code to quickly tap on the keyboard, listening to the sound of guessing HR, and pay attention to the selection of resumes, looking for the interview

What the hell.

It was almost time, and once again the cheeky initiative admitted that he couldn’t write. In fact, I could write a quick sort of array in c++, but

All I was left with was exhaustion, pain and humiliation.

The interviewer finally let me go, and the passionate hour-long video chat ended. As SOON as I turned off the video, I collapsed in my chair with a convulsion. Who am I? Where am I? What just happened?

Oh, that just happened. I used to yearn for that kind of thing, the heart is full of passion and vision, how now, on this matter no interest? Now I just want to sit here and do nothing. Would you like to light up a cigarette? By the way, I don’t smoke. The sage had so many ideas in his mind…

Drifting muddily, in my mind has been reverberating with Jay’s music: this feeling has not been right I finally understand, a page can not bear to read the plot I am very tired, you silence to see I dropped a few tears more haggard, and my heart you suffer your offer, I do not deserve ~ ~ ~!

(the speed is a little fast, I hope you can open the net and do not fold it for me. If it is convenient, please consider my resume. Python and C++ are OK.)

The interview process and questions go something like this, a bit artful for the reading experience, but completely authentic. Now let’s get down to business.

Now I just want to stick my head in the soil and never come out again. Before, I wrote super thick chicken soup in Zhihu, talking about learning methods, which was directly put on top of the technology number until now.

Write high praise, speak of the plug-in, and now there are people ask me can do plug-in private work, a day thousands of profits;

I really think I’m a big shot under the commercial adulation.

There are a few people in the comments section who accuse me of being too clever, saying THAT I am a scum who loves to mislead others, but I don’t take it seriously, thinking that one day I will be a big fan

Factory offer back to prove themselves!

Today I know they were right. There’s a difference between talking and being capable.

The reason why there has been no boss to hate, probably because the boss did not brush.

Today this round of interview, is to be ripped off a whole body, can be said to be a programmer interview typical negative, of course I am not afraid to say, dish is dish, blow water

Is to blow water, try to blow the water as soon as possible cash, sooner or later one day can become a real big man!

This time as loser again in the job preparation process exposed problems, I hope you take warning.

1. Try to prepare early

Interviews shouldn’t be about showing up prepared. They should be about showing up prepared. If I have to say when I will start to quit my job, MY suggestion is half a year.

Don’t start looking at algorithms and data structures after the interview, like I did.

2, first find a small company several times to enter the state, and then invest in a large company to win.

I was stupid enough to use all my contacts at the very beginning to invest in all the internal promotion of BAT and other second-tier big factories.

Bytedance is the third big company I’ve lost, and I don’t just feel stupid, I also feel really cool.

Your resume is the review outline

Some people always review the review outline provided by the person who got the BAT offer found on the Internet, only to find it useless.

In my interview, all the questions he asked were based on the skills list in my resume.

I think a lot of people are amazing if they can do anything that is described in their resume.

If you feel like you have nothing to add to your resume? I recommend a good way:

  • Hear the name, write understand;

  • Follow the post to write demo, write familiar;

  • Used in the project, write proficiency;

  • Often used in the project, write proficient;

That’s what I wrote, and the result is obviously, out of the mix, always want to return, dare to pretend forced, deserve to be abused.

4. Beware your comfort zone

“If a programmer feels lost in the workplace and uncomfortable in his comfort zone, I suggest he go out for an interview. He doesn’t have to go out, but you go out and hear what the market is saying about you.”

This sentence was seen in a job search public account, I think not only programmers, any workplace should be deeply believed.

Although I am not confused about the workplace, I found in the interview that I had been left behind by others in three years of work without any awareness. What’s more, my grasp of basic knowledge is not as good as that of fresh graduates.

In the future days quickly honest reading, steadfast to do things, as soon as possible to cash their once blowing cattle force.

The above interview questions have been compiled into a PDF file, hoping to help you review and find a good job before the interview, and relatively save you time searching for information on the Internet to learn!!

Attached welcome to pay attention to my public variety number: IT resources of the home, scan the following two-dimensional code can receive more first-line large factory Java interview materials!

The last

Welcome to the comments section to communicate and improve each other; Sorting out information is not easy, if you like the article remember to point a zan ha, thank you for your support!!