3 Meituan, 4 Tencent, and 3 Didi got 2 offers, happy! Here to share a wave of experience

Tencent

Tencent side (around 1h)

  1. Self introduction
  2. Do you understand Ali Health's business?
  3. What do you think of the prospects of this project in Ali Hospital?
  4. What data structure does redis use in Didi
  5. What storage engine does MySQL use
  6. How does Innodb set up transactions, you know what Innodb's transaction mechanism is
  7. How to use RocketMQ to decouple in Didi
  8. Algorithm 1: Given an ordered array, find two numbers whose sum is n
  9. Algorithm 2: Given an unordered array, find two numbers whose sum is n
  10. Algorithm 3: Given an array, the numbers in the array represent the height of the cylinder. If it rains, how much rain can be collected in the entire range?

Tencent two sides (around 1h)

  1. Self introduction
  2. Is Blink developed by Alibaba based on Flink or is it packaged?
  3. Have you participated in the recommendation algorithm in the byte project? What is your recommendation logic? (Rule engine, timed filtering)
  4. The filtered car information is stored in redis. What data structure is used?
  5. The difference between set and zset?
  6. How to read this information?
  7. What if you are inserting information while reading? (Redis transaction)
  8. Introducing redis transactions
  9. How to solve without using transaction? (Backup memory, read and write separation)
  10. If you don't use this method, do you have other methods? (Distributed lock)
  11. Introducing distributed locks
  12. How does innodb implement transactions (mvcc, gap lock)
  13. B+ tree only has leaf nodes to store data, what changes will happen? Why such a structure?
  14. Algorithm 1: Delete duplicate nodes from the linked list (the idea is relatively simple, but it tests the coding ability of the linked list, handwriting, and the interviewer will compile it with naked eyes...)
  15. Design Question 1: Implement a memory copy function (memorycopy, the input parameter is a pointer of any type, and the memory address after copying is returned)
  16. Design question 2: If the link in the email verification is only valid once, how to realize the validity period of 30 minutes? Complete the design idea and give a url example
  17. Summary: The problems are all divergent problems, fixed assessment of few knowledge points, application of more knowledge points, large on-the-spot factors, and the algorithm is not difficult, but all need to be hand-tipped coding.

Tencent three sides (about 30min)

  1. Self introduction
  2. I talked about the project in detail, the intern, and the laboratory asked, not much follow-up, I am very interested in data development
  3. Two large files, one string per line, A file is 1T in size, B file is 2T in size, find the intersection of the two files
  4. It's dinner time, how do you recommend a restaurant to someone?
  5. Rhetorical question

Tencent HR surface (about 30min)

  1. Self introduction
  2. Advantages and disadvantages
  3. Previous internship experience
  4. The company culture of Ali Didibyte
  5. Which offers have you taken, and which companies have you met?
  6. How to choose Ali Tencent
  7. What is the basis for choosing a job
  8. I can’t remember the specific questions of the HR interview, mainly talking about life and asking about company choices

Meituan

Meituan’s entire video interview, three rounds of interviews, after the third round of interviews did not organize the interviews, so there are only one or two rounds of interviews.

Meituan side (about 50min)

  1. The difference between rewriting and reloading
  2. Can the return value be used as a distinguishing sign for overloading?
  3. The difference between == and equals
  4. Long a = 1000L and long b = 1000L, what does a == b return?
  5. Long a = 1000L and Long b = 1000L, what does a == b return?
  6. What to understand about Java data structures
  7. If you need to save the order placed in the Map, what data structure to use
  8. How to expand the underlying data structure of HashMap
  9. How does ConcurrentHashMap ensure thread safety
  10. Which design patterns will be
  11. Introduce the strategy mode
  12. Write a singleton mode (coding, double check lock for writing, synchronized for use)
  13. What other locks are there besides synchronized?
  14. Change to ReentrantLock to write
  15. Write a deadlock (coding)
  16. How is MQ used in the project
  17. Talk about the B+ tree structure of mysql
  18. The isolation level of the database, what are they solved
  19. Usage of join
  20. What is the effect of left join
  21. The wording of database paging limit
  22. What does ACID stand for
  23. The network protocol is divided into several layers
  24. Which layer is TCP on?
  25. Three handshake and four waves
  26. What does the RPC framework understand and what protocol does it use?
  27. What are the commonly used HTTP request methods and what is the difference?
  28. Idempotence
  29. How HTTPS is implemented
  30. Is there a git repository?
  31. How to learn a new language or new technology?
  32. What blogs or communities have you seen?
  33. Rhetorical question

Meituan two sides (about 50min)

  1. Self introduction
  2. I find the hardest and most rewarding project and where is the reward
  3. Redis data types
  4. How to solve the cache avalanche (request to say a variety of ways)
  5. TCP three-way handshake
  6. What is the difference between the first, middle and the last order traversal of the tree
  7. What sorting algorithm knows
  8. What is the fastest sorting algorithm
  9. Talk about fast queue
  10. Which offer and which company did you face?
  11. The difference between SpringMVC and SpringBoot
  12. How to prevent sql injection in MyBatis
  13. SQL: Table (name, subject, grade), count the sum of all subject scores of each person (coding)
  14. Algorithm: Two strings, find the longest common substring (coding, test point)
  15. Design: A system with a daily order volume of 100w should now become more than 1000w. If you are an architect, how do you consider this issue

Didi

Didi one side

  1. Self introduction
  2. Didi's project
  3. Byte item
  4. How to use redis
  5. Distributed lock
  6. What scenario in Didi uses distributed locks
  7. Can it be optimized?
  8. Algorithm: n+1 length array with numbers from 1 to n. Find out the repeated numbers (requirements: time complexity O(n), space complexity O(1), and the original array cannot be modified, and the array can be converted In a linked list, use the linked list to find the entry of the ring. Coding and test points are required)
  9. Rhetorical question

Didi two sides

  1. Self introduction
  2. Byte item
  3. Why the data is stored in redis but not in mysql
  4. Ali project
  5. Understanding the value of big data, some real-time computing scenarios
  6. Blink and Redis (confusing question, is there a relationship between the two)
  7. Batch and stream processing
  8. How to use multiple threads
  9. The difference between Thread, Runnable and Callable
  10. Thread-safe data structure
  11. Thread-safe way of HashTable and ConcurrentHashMap
  12. JavaNIO
  13. IO multiplexing
  14. Why is epoll faster than select, and what to optimize
  15. The bottom layer of zset in Redis
  16. The time complexity of the skip table? why?
  17. Redis's distributed architecture
  18. Election algorithm in sentinel mode
  19. Communication protocol between Redis nodes
  20. Database Innodb understand
  21. mvcc
  22. Algorithm 1: The largest continuous sub-array sum of the array (coding, test point)
  23. Algorithm 2: Determine whether the binary tree is a search binary tree (coding, test point)

Didi on three sides

  1. Self introduction
  2. Laboratory project, what are you responsible for
  3. Talk about each state in detail
  4. If two administrators approve the group logo at the same time, will concurrent insecurity occur?
  5. How to deal with it?
  6. What do you think is the most important or most difficult problem in the project?
  7. Byte project, talk about it in detail
  8. Rules engine related
  9. Some questions about redis data storage and cron in the project
  10. The project brings the greatest improvement
  11. Did you encounter any problems after going online? How to solve them
  12. Didi project in detail
  13. How to configure various activities and rules
  14. Reward plan, reward implementation, reward recovery specific logic
  15. Why didn't Spring Recruit choose to come to Didi to continue the internship?
  16. Mind changing the technology stack (Golang, PHP)?
  17. Algorithm 1: Print 0~9 and implement it in two ways, recursive and iterative (welfare coding)
  18. SQL: Flow list t (serial number, user name, product name, unit price, quantity, date) statistics: the names of the top three users with the highest sum of consumption in August (coding)

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. (Obtained at the end of the article)

Study notes (obtained at the end of the article)

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

 

Guess you like

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