Alibaba, Toutiao Java Post (Have an offer), two years of experience, the interview routines of big companies have been tried repeatedly

The author has 2 years of development experience. At the end of 20 years, they followed Toutiao, Pinduoduo and Ali (Taobao and Alipay), and successfully got offers from Ali and Toutiao.

Before the interview, I mainly watched everyone's interviews on the Internet to check for missing vacancies, so I want to record it after the interview, so I should provide you with some information. (It's been a month since the interview, and my memory is a bit confusing. I try to write down as much as I think about it).

By the way, I would like to mention the interview experience: Headline> Ali> pdd Pinduoduo's most rubbish interview experience, no one. I made an appointment with the video, and the interviewer said that there was something to call me, and then gave me a document, an algorithm. When I was writing the algorithm, I didn't notice that the phone signal was badly cut off. Then I called back, and the interviewer said: Don’t hang up the phone to check the answer. I %@#¥@#%@5, keep smiling and explain the bad signal. Later, I went to the balcony for an interview in order to have a better signal. I was shivering with cold. At this time, my mentality was exploded, cold and nervous. The algorithm questions had ideas but they were always rejected by this person and finally hung up.

Headline

At the beginning of the headline game, it was the first interview at the time. I had no experience. As a result, although the algorithm questions had ideas, they didn't write the optimal solution. Later, he was picked up again, because at this time Ali had an offer, so he became bolder, and started to make headlines after clearing up his mood.

The interview feature of Toutiao is basically a routine: [self-introduction] -> [project introduction] -> [hand tearing algorithm] -> [basic knowledge], tried and tested.

  • Self-introduction: I am xxx, from xxx, I have been in xxx a few years after graduation, during which I am responsible for xxx.
  • Project description: xxxxx. During the project, the interviewer will ask you about the difficulties and solutions, and at the same time will suggest scenarios and ask you for more optimized ideas.
  • Hand-tear algorithm: Brush more questions, or look at the algorithm questions that others have faced, which may be repeated.
  • Basic knowledge: For questions about resume writing, I was asked more about the middle price, Redis, MySQL, Kafka, ElasticSearch.

one side

  1. Two Sum
  2. Given m non-repeating characters [a, b, c, d], and a string of length n tbcacbdata, ask whether you can find a continuous substring of length m in this string, making this substring It just consists of the above m characters, the order does not matter, returns the starting position of any substring that meets the conditions, and returns -1 if it is not found. For example, in the above example, abcd, 3. Given m possible repeated characters [a, b, d, d]?
  3. Provide an integer array and an integer s, if there are n consecutive elements in the array, and the sum of the elements is greater than or equal to s, then return the minimum length of the consecutive elements that meet the condition; otherwise, return 0
  4. MySQL cluster. What to do if the cluster is delayed.
  5. Redis's zset implements delayed tasks
  6. Design question: how to design tiny url
  7. Why wave four times
  8. HTTPS

The next day I received a call from Miss Hr and asked for an interview time.

Two sides

  1. Self introduction
  2. Project Introduction
  3. K Group reverses the linked list. I wrote two implementation methods: stack and iteration. The inscription of the linked list is really painful, and it is easy to make boundary errors.
  4. Redis's persistence mechanism
  5. MySQL isolation level
  6. MySQL index, clustered index and secondary index
  7. Redis high availability solution
  8. Introduce some concepts of Kafka
  9. How does Kafka ensure that messages are in order
    ...forgot

A day later, I received a call from Miss Hr again, happy.

Three sides

  1. Self introduction
  2. Project Introduction
  3. Kth largest number
  4. Design question: spike system
  5. MySql index optimization
  6. HTTPS
    ...forgot

It happened to be Friday when the three sides were over, and I waited until Monday nervously, thinking it was hanging up. As a result, I received hr and WeChat in the afternoon and made an appointment with hr.

hr noodles

  1. Why did you leave? What do you think
  2. Introduction project
  3. How to communicate with the team members and how to resolve conflicts with members.
  4. Expected salary, your current salary

I received the offer within three working days, and the headline interview experience is still great.

I found the Ant Financial Core, who was recommended by a friend, but was rejected the next day. Hangzhou Taobao called me and said I was caught. Confirmed, it is true, then let's face it.

Ali

I still want to go to Ali, so I am very worried. Taobao has gone through 4 rounds of technology + 1 round of written examination + hr. The process is very long and I am under great pressure. Ali’s interview features: [self-introduction] -> [project introduction] -> [scenario solution] -> [basic knowledge], in addition to basic knowledge, Ali interviews also value the candidate's problem-solving thinking. It still requires candidates to accumulate a bit. If the project you write is not your own, it is easy to be asked.

one side

  1. Self introduction
  2. Project difficulty introduction
  3. How to implement delayed tasks
  4. How to achieve current limiting
  5. Thread pool parameters
  6. Can you implement a java.lang.String and load it yourself
  7. Why is Redis so fast
  8. The difference between epoll and poll
  9. Process synchronization method

Two sides

  1. MySQL index mechanism
  2. How to realize memory allocation and management by yourself? I don’t know much, and then I talked about the garbage collection mechanism of jvm
  3. Tell me about the RPC framework within your company
  4. Redis key expiration strategy
  5. Cache penetration and cache avalanche
  6. Distributed lock
  7. How to implement a global id generation strategy
  8. Pessimistic lock and optimistic lock
  9. Do you understand the red-black tree?

Three sides

  1. How to realize the group message has been read
  2. How to ensure that the message push is not repeated
  3. How Kafka guarantees the reliability of messages
  4. What is RPC and what is the difference between http call
  5. Talk about the structure of your project
  6. GC
  7. The principle of MySQL index, gives a scenario, how to optimize
    ... Forgot

After facing 3 faces, another written test came

written examination

  1. producer-consumer
  2. Two threads alternate printing
  3. Multi-threaded simulation 100 cents are randomly distributed to 20 people, and each person is allocated at least 2 cents

All sides

  1. Write a producer-consumer, I said I wrote it last time. . Silly. . It shouldn't be said, and then the interviewer changed a question, but it was relatively simple, write a binary search, and finish it in 2 minutes.
  2. Project difficulties
  3. MVCC
  4. HTTPS
  5. ElasticSearch query process
  6. How Kafka guarantees high availability
  7. Reids cluster and election
  8. Know what distributed consensus algorithm
  9. How to implement timed closing orders
    ...forgot

HR face

Ali's hr noodles are really unforgettable for me.

  1. Let’s talk about it, if you are a department technical manager, what should you do if your online merchant data is lost
  2. How to recommend a product to other teams and how to define boundaries
  3. How to coordinate the relationship
    (I’m only 2 years old, hello, I’m almost sweating here, I’m afraid that the last level will be killed)
  4. How are you getting along with your colleagues? Tell me about your experience of helping colleagues
  5. Salary

Ali's interview process is very long, and after one department hangs up, it will be picked up by another department and will continue to face each other. In short, Ali's interview experience is also pretty good, that is, he is often released. The interview experience of Alipay is actually similar, so I won’t post it.

Basically all the questions asked by all companies I went to interview were included in these interview questions. For those who are looking for a job, it is worth a short quick surprise. Friends in need can, click here to get it for free!

 

Guess you like

Origin blog.csdn.net/m0_46995061/article/details/112712648