Persist, and anything is within your reach. Hang in there and you can succeed at anything you do.


Pay attention to see, form a habit, hello, everyone, I am the program brother! Wechat search [” VeryJava “] pay attention to it, this “VeryJava”. This article https://github.com/clsaa/very-java has included “lot”, compiled the interview process of learning, is “open”, welcomed the “Star” and “Fork”.

The introduction

I have been thinking about writing this article for a long time. When I was preparing for the autumn recruitment, I always thought that if I could successfully get the offer, I would write a blog summarizing it. After all, it has been a difficult journey, which is also a very important part of life, and should be summed up well.

At the end of the article are some “materials” that I summarized and collected during the interview. Due to the poor format of the notes at that time, I have not released them completely. I will sort out and improve them gradually, and finally “open them all” to you. After all, I also read a lot of other people’s articles during the interview, which was not easy to sort out. I hope your “Star” and “Fork” will be the biggest encouragement to me!!

First of all, I am a graduate of master’s degree in January, 2020. now I am working in Tencent in Shanghai, and Brother Ma will pay me every month!!

During the preparation of autumn recruitment, I met with a total of 9 companies and received offers from 8 companies. Some people may ask why you met with so many companies. Not tired? Ha ha, interview for me, really not tired, is a kind of enjoyment, I love to chat with others, ha ha! My company is as follows:

  • Ali.
  • tencent
  • baidu
  • netease
  • huawei
  • Meituan
  • byte
  • drops
  • B station

All of these companies do it once, except for the byte that hangs on the 3 twice, which I’ll talk about in more detail below.

This time, I would like to discuss from the following two aspects:

  • Interview preparation stage: including basic knowledge preparation and written preparation
  • The Feeling of an interview

As for the face, I will continue to update and share in the future articles, but also to avoid the fatigue of seeing too long articles!!

Interview preparation

As a general rule of thumb, if you graduate in June, you should start preparing a year and a half in advance, because if you graduate in June, the official offer is usually made in September or October of last year, so you need to give yourself six months to prepare before the interview in September. But the students who graduate in January, one year in advance can, the reason we should all think clearly.

So what should a computer, especially software engineering major, prepare for the interview process? I’m going to tell you what I prepared for myself, but there are a few things I prepared for myself that I didn’t use once during the interview. I will first list the knowledge prepared, and you can check the specific content on Github in the future

Java Basics

And these are reallyA JavaIn the process of the interview, if not, how will the interviewer think of the interviewer opposite the little brother, haha!!

The data structure in the JDK is related

These should see the source code, must be very familiar with the line ah. Of course, I’ve got it all ready for you on Github. That’s it.

  • ArrayList
  • Arrays
  • AtomicInteger
  • HashMap
  • HashTable
  • Integer
  • Comparison of HashMap and ConcurrentHashMap in Java7-8
  • LinkedList
  • Spliterator
  • String
  • Unsafe
  • Vector

Java7-8: HashMap vs. ConcurrentHashMap

Java and send the contents of the package

These are also should see the source code, must also be very familiar with the line ah. Of course, I have also prepared for you on Github, the study is over!!

  • synchronized
  • volatile
  • AQS
  • ReenTrantLock
  • CAS
  • ThreadPool
  • ArrayBlockQueue
  • LinkedBlockQueue
  • PriorityBlockQueue
  • CLH synchronization queue
  • ThreadLocal
  • CyclicBarrier
  • CountDownLatch
  • Semaphone
  • Excahanger

Inside, the most asked is the front 6, the other basic no one asked.

The Jvm related

The following are also required questions for the Jvm interview.

  • Java memory region
  • Class file structure
  • Garbage collector and memory allocation policy
  • Class loading mechanism
  • Java memory model and threads
  • Thread safety and lock optimization
  • G1 garbage Collector
  • CMS garbage collector
  • JDK8 default garbage collector

These interview Java position, basically all must ask oh.

Other Bits and pieces of Java

These are summarized on Github, which mainly simulate the interview process, the interviewer may ask some knowledge points.See these knowledge points, have the impulse that wants to learn!!

Other Java backend requirements

  • Spring
  • Redis
  • Zookeeper
  • MySQL
  • The operating system
  • network
  • Computer composition principle
  • Design patterns
  • CAP, 2 PC, 3 PC

Seriously, no company asked me about design patterns, like Spring AOP, inversion of control, ali would ask, no other company asked.

Because there are too many knowledge points to share at one time, I will finish sorting out the rest of the next few episodes and share them and update them to Github. Can insist to see here, will certainly get a good offer next year, come on!!

The written test preparation

For the written test, it is suggested to leave yourself 2 months to prepare the questions, and you’d better prepare 150+ Leetcode questions. If you are not good at algorithm, you’d better prepare 300 questions. After all, “If you are good at making 300 questions, you will remember them even if you do not write.” Unless you are going to interview with a foreign company, at present all the tests in domestic companies are in Chinese.

Brush the topic, you can brush according to the knowledge of the label, can also specially select with the company interview encountered the topic brush, after all, there are really a lot of company questions is directly in the original above.

Such as the following are frequently tested:

  • LRU
  • Fast row
  • The front, middle, and back of the tree are non-recursive
  • The most recent common ancestor of the tree
  • DFS and BFS
  • Dynamic programming
  • The prefix tree

In short, the topic should brush more, brush to sum up, a lot of topics are similar, regular, such as the series of topics of trading stocks.

The Feeling of an interview

Before also said, here is not to share the specific experience, after all, 9 companies, in fact, and cattle are almost the same, I only here to talk about my feelings last year when the interview, so that you have a general understanding of these big factories.

The following is not malicious or belittle any company, purely personal cognitive feelings of objective facts, if offended, contact me to delete!

Ali’s interview feelings

Ali in Internet companies, to moderate salary, under the same conditions than ali to pay much higher, and ali is a typical “live much less money” of the company, also many, ali P level from low to high, born with a sense of superiority, the higher the P level, the individual feels better with this kind of feeling, of course have amiable high P.

  • Ali interviewers are very strict. If you omit the double parentheses in your interview, Java will point them out. If you omit the double parentheses in your interview, Java will point out that you did not write well, and if you did not write well in your interview, you will also say that you did not write well. This gives me the impression that the interviewer is slightly “splitting hairs”.
  • You’re probably hanging on a high P. I have met with 3 departments, the first two departments because of the general reasons, there is no real interview, so it is not failed. But the overall feeling, the first P7 or P6 is the breadth of knowledge interview, as long as you understand the basic knowledge, the first side absolutely can not fail. The second one is usually P8 interview, and the third one is P9 interview, which is the head of your department. Actually, I have talked with 3 P9 leaders, but two of them gave me a bad feeling, and one of them is very approachable. P9 generally asks things, but it is very in-depth, the basic is the principle, the bottom thing, if not, may not be ali.
  • Ali written test topic is really difficult, need to brush ali years written test topic, a lot of understanding.

Ali is basically Java technology stack, so Java must be very solid, and like Spring,SpringBoot and other things are also very familiar, of course, if you can Dubbo, SpringCloud Alibabab better. Other knowledge points are as required as any other company.

Byte interview feelings

Byte interview, I feel very bad, byte is the only company, in every side will let you do the questions, maybe byte cast too many people, need to rely on this mechanism to brush people??

  • The byte written test is really important, and I failed the three-page written test twice. Don’t say, it’s all tears.
  • Byte interviewers are more strict, my personal feeling is that as long as you are in three, one of you will not, you may not.

Of course, byte’s unique salary and the industry’s top free three meals and afternoon tea, and Shanghai’s unique geographical location, is definitely an advantage!!

Other companies

Tencent and netease, are both sides, the feeling is really quite good, work efficiency is also high. Tencent interviewers are the most diligent, once I met from 11 o ‘clock at night to 12 o ‘clock in the morning, haha! ! The interview process at most other companies is the same.

Spring and autumn recruitment

In fact, about spring recruitment and autumn recruitment, it is generally suggested that spring recruitment ready, on the delivery of resume. However, in fact, there is no impact on spring recruitment. Basically, everyone will get their offer in the autumn recruitment, and 90% of people only get their offer in the early approval of autumn recruitment and the official autumn recruitment.

for

Spring recruitment for companies like Ali and Byte, if you can get the job, it is very easy to get a job, after all, the job is basically just an interview, and you don’t have to go to the internship, will give you a chance to get a job interview. Xiang Xiang is also very sweet!

Autumn recruitment approved in advance

Be sure to cast resume at the earliest time, cast finished, have no post really. Remember to send it out in the first place.

Autumn recruitment official approval

If you did not participate in the first two, this one must not miss, this one can not catch, will have to wait another half a year. Just do your best.

conclusion

The whole interview process is really a bit of an interview building rocket, work screw feeling. Review a lot of did not ask, and a lot of knowledge, the work is not used at all. But in fact, it is also very important to understand these, you only know how to use, do not know the principle, use their own confidence?

Well, today’s share here, some specific knowledge points, you can follow Github and wechat public account.

I am program elder brother, a programmer from the magic city, xiao Ma elder brother will pay my salary every month!! Creation is not easy, don’t forget to like oh, your attention, is the biggest power program brother creation, we will see you next time!


The article continues to update, wechat search [” VeryJava “] pay attention to it, this “VeryJava”. This article https://github.com/clsaa/very-java has included “lot”, compiled the interview process of learning, is “open”, welcomed the “Star” and “Fork”.

Today’s best effort, is tomorrow’s minimum requirements, we come on together!!