Five-sided Ant Financial, three-sided Pinduoduo all got the offer, after thinking about it, I joined Pinduoduo

Ant Financial (Five Sides)

one side

At the same time, I did an algorithm problem and required it to be completed within two hours. I gave an array of length N with repeated elements and asked to output the 10th largest number. The typical TopK problem is solved by the quick sorting algorithm.

Algorithmic questions should pay attention to the legality check, boundary conditions and abnormal handling. In addition, if you want to write test cases, you must ensure that the test coverage scenarios are as complete as possible. In addition to the usual brushing algorithm questions, this kind of assessment should be no problem.

Two sides

  1. Introduce yourself
  2. Have you contributed code to an open source project?
  3. What does the department currently do, what are the internal systems, functions, and interaction processes?
  4. What pits have Dubbo stepped on and how did they solve them?
  5. Start to get into the topic, talk about your understanding of thread safety
  6. What are the characteristics of transactions?
  7. How to understand atomicity?
  8. The difference between optimistic lock and pessimistic lock?
  9. How are these two types of locks implemented in Java and MySQL?
  10. Why is HashMap not thread-safe?
  11. How to make HashMap thread safe?
  12. What is the difference between the synchronize of Collections?
  13. What optimizations has been made to ConcurrentHashMap in jdk1.8?
  14. Do you understand the redis master-slave mechanism? How did it happen?
  15. Have you had any experience in GC tuning?
  16. Is there anything you want to ask?

Three sides

  1. Briefly introduce yourself

  2. How does the monitoring system work, which modules are divided into, and how do the modules interact? What database is used?
  3. What storage engine is used, and why use InnnoDB?
  4. Is the order form split? How to split it?
  5. The query process description after horizontal split
  6. What if the data that falls into a certain shard is large?
  7. Is there any problem with hash modulus?
  8. How to solve the pressure of reading and writing after sub-database and table
  9. How to ensure that the primary key is unique after splitting?
  10. Is the ID generated by Snowflake globally incremented and unique?
  11. How to achieve a globally incremented unique ID?
  12. Mysql index structure
  13. What is the difference between a primary key index and a normal index?
  14. Where is the current bottleneck of your system?
  15. How do you plan to optimize? Briefly talk about your optimization ideas
  16. Is there anything you want to ask me?

All sides

  1. Introduce yourself
  2. Why do reverse engineering?
  3. How to understand microservices?
  4. How is service governance achieved?
  5. Isn't this something middleware does? Why does your department do it?
  6. Talk about the life cycle of Spring
  7. Talk about the process of GC
  8. What's wrong with CMS GC?
  9. How to avoid floating garbage?
  10. What's the problem with forcing young gc?
  11. Do you know G1?
  12. What is the recycling process?
  13. How is the bottom layer of Remember Set you mentioned?
  14. Is there anything you want to ask?

Five sides

Five faces are for HRBP. I made an appointment with me in advance, mainly talking about my previous internship experience at Ant, what the department is doing, career development, welfare benefits, etc. Ali interviewers do have one-vote veto power, and they value whether your values ​​match or not, and generally prefer candidates who are honest. HR must be honest, don’t lie, as long as you lie, HR will verify it and cut it directly.

  1. Why didn't Ant stay after three months of internship?
  2. Who was the supervisor during the internship?
  3. What did the internship do?
  4. What do you think of technology? What technology stack do you usually use?
  5. Have you been researching anything recently?
  6. What do you think of SRE
  7. Do you have any expectations for the treatment?

Finally, HR also told me that there is a shortage of people in the stability protection department, and I hope I will reply as soon as possible.

summary

Ant interviews pay more attention to the basics, so the basic skills of Java must be solid. Ant's working environment is quite good, because I am in front of the stability assurance department, and there are many separate groups, like Class 1 for three years, which is very youthful. The basic level of the interviewers is relatively high, basically P7 or above, in addition to the basics, they also asked a lot of questions about the architecture design, and the harvest was quite big.

Pinduoduo (three sides)

 

Before the interview

After facing the ants, I had already heard about the unicorn of Pinduoduo, so I decided to go there too. First of all, I found a Pinduoduo HR in Maimai, added a WeChat chat, and sent my resume to start my Pinduoduo interview journey. I would like to thank Miss Pinduoduo HR for helping me from the interview to the offer confirmation. She is really nice.

one side

  1. Why did the ants only stay for three months? Didn't get regular?
  2. Explanation of HashMap and TreeMap in Java?
  3. What is the time complexity of TreeMap query writing?
  4. What's wrong with HashMap multithreading?
  5. What is the difference between CAS and synchronize? Isn't it possible to use synchronize?
  6. What if you want to ensure thread safety? (ConcurrentHashMap)
  7. How does ConcurrentHashMap achieve thread safety?
  8. Does get need to be locked and why?
  9. What is the role of volatile?
  10. How is the bottom layer implemented?
  11. How to ensure visibility under multi-core CPUs?
  12. Talking about the project, how do the systems interact?
  13. How much concurrency is in the system and how to optimize it?
  14. Give me a piece of paper, draw a nine squares, fill in the numbers, give an MN matrix, and print the MN numbers counterclockwise starting from 1, requiring the time complexity to be as low as possible
  15. You can talk about your thoughts first (remembered, when to say when to change the direction of the conditions, to the right, down, left, up, and so on)
  16. What do you want to ask me?

Two sides

  1. Introduce myself
  2. Do you have any other offers?
  3. What is the organizational structure of the department?
  4. What are the modules in the system, what technologies are used in each module, and how does the data flow?
  5. How is the link tracking information transmitted?
  6. How does SpanId guarantee uniqueness?
  7. In what dimension is RpcContext passed?
  8. How is Dubbo's remote call implemented?
  9. How is Spring's singleton implemented?
  10. Why implement a service governance framework separately?
  11. Who is leading? Is it still in use internally?
  12. Have you ever thought about how to make it universal?
  13. Is there anything you want to ask?

Three sides

After the face of the second boss, he directly interviewed the HR, mainly asking about career development, whether there are other offers, and the intention to enter the job. By the way, the company's benefits and benefits are more conventional. But what I have to say is that if you have other offers or experience with big factories, you will get some bonus points.

summary

Pinduoduo's interview process is much simpler, after all, it is a company that has been established for more than three years. The difficulty of the interview is moderate, as long as the foundation is solid, it shouldn't be a problem. But I have to say that the work intensity is very high. Before the start of the interview, HR confirmed with me in advance whether I can accept such an intensity of work. The old iron who wants to come must be prepared.

Reader benefits

Share the high-frequency interview questions (including answer analysis) that I have collected and summarized by myself, hoping to help fans and friends get their favorite offers.

Fans and friends who need to get the above interview information, after one-click three consecutive

 

Guess you like

Origin blog.csdn.net/bjmsb/article/details/114584394