preface

Today, I want to share with you the bitter experience that Ali won the Offer after ten interviews with friends.

Ten ali are divided into ali cloud four, ants two, rookie four; During the period also encountered a lot of strange companies, such as Meituan do not know why to internal promotion, CVTE written test brush out have internship experience, netease Xuanxue recruitment, JINGdong 20 minutes interview, Huawei chat recruitment!

 

 

Face book (answer at the end)

alibaba

One side (Sesame Credit)

  1. Hashmap is different from HashTable
  2. Why do deadlocks occur
  3. The JVM class loading
  4. Java reflection takes private properties and changes the value
  5. Reflection USES
  6. Database used
  7. Project difficulties and problems
  8. How to solve problems encountered in the project
  9. The proudest part of the project
  10. What’s the algorithm?

Second face (Alipay Innovation)

  1. About the project
  2. Optimistic database lock usage
  3. The state machine
  4. How to solve the state machine misalignment problem
  5. How to divide database and table
  6. MySQL limit
  7. A HashMap source
  8. Design a thread-safe HashMap
  9. Implementation of fast sorting, time complexity and space complexity
  10. What’s the algorithm?
  11. How to turn a project into an SOA architecture
  12. Spring source code, the most profound module, AOP purposes
  13. JVM memory model
  14. Garbage collection mechanism
  15. View garbage collection in the project

Three Sides (Cainiao International)

  1. Permission management in projects
  2. How is login status stored
  3. What is the difference between session and cookie? How to manage session
  4. Underlying structure of HashMap
  5. Synchronized
  6. Synchronized modifies class methods and ordinary methods to lock the difference, after acquiring the class lock can also acquire the object lock
  7. Can the parent delegate model of a class loader load a class repeatedly
  8. The cache of the class loader’s class, what is the key
  9. Introduction of Redis
  10. How to distribute data among different Redis
  11. Do you know the mod algorithm?
  12. Apo implementation of Spring
  13. Bytecode structure
  14. Browser input url process, combined with SpringMVC

Four Sides (Cainiao International Supply Chain)

  1. How to handle a large number of hash conflicts in HashMap
  2. Red-black trees have advantages over BST
  3. Why does MySQL use B+ tree
  4. Can multiple indexes have multiple copies of data
  5. The isolation level of the database and the problem resolved
  6. The default isolation level of the database must generate a phantom read, how to resolve
  7. The whole process of entering the url into the presentation, in conjunction with SpringMvc
  8. Load balancing algorithm
  9. Haverman coding, how to solve the decoding problem
  10. Will internships affect work
  11. How do I view system load
  12. Describe a problem-solving process
  13. How to copy files from the server to the local, with what command

Fifth Side (Cainiao Technology Department)

  1. At that time how to find baidu this opportunity
  2. What technologies were used in the project
  3. How do you design the flow of the project and how do you design it
  4. MySQL uses an index structure for lookup efficiency
  5. MySQL query optimization
  6. MySQL slow query enabled, statement analysis
  7. HashMap lookup efficiency
  8. JVM memory model
  9. Design patterns, usage scenarios of policy patterns
  10. How to ensure singleton thread safety
  11. The default scope for Spring’s beans
  12. Knowledge of Netty
  13. Future Development Plan
  14. How to make code more complex to read

Six sides (HR side)

  1. Talk about where we’re going
  2. Talk about the problems caused by inexperience
  3. Tell me about the challenge Cup
  4. Tell me about your major contribution to the Challenge Cup program
  5. Practice time
  6. What offers have you received and how do you consider them
  7. Why not Tencent
  8. The difference between Tencent technology stack and Ali technology stack

 

tencent

One side

  1. The introduction of JQC
  2. How to ensure that multiple machines do not double consume
  3. How to ensure that feedback failures are consumed (with transaction management, save then consume, rollback on failure)
  4. How do I prevent database single point problems
  5. Paxos algorithm
  6. Raft algorithm
  7. Aop implementation of Spring
  8. Three operations,a:++,b:–,c:/2(only even), find the minimum number of times I changes to 1
  9. Talent development (take turns to try, propose tasks, encourage implementation)
  10. The breadth without depth is meaningless, from wide to curtilage, from shallow to deep

Second interview

  1. Handwritten multithreaded ticket code
  2. Handwritten ServerSocket usage code
  3. How many thread pools does JAVA have, and what about fixed thread pools
  4. Subinterface of Collection
  5. Interface of Map and Application scenario of HashMap
  6. The parent interface of Queue, usage scenario
  7. Primary/secondary database replication configuration
  8. Spring’s IOC advantage, what problem does it solve (decoupling)
  9. The life cycle of the Bean
  10. The scope of the Bean, the role of the Gobal Session
  11. Handwritten SpringMVC process
  12. How to balance life and work
  13. Career Development plan
  14. Why not take the postgraduate entrance exam
  15. Redirect is different from forward
  16. The biggest challenge in college
  17. The encryption algorithm

HR side

  1. What you like to do
  2. What kind of movies do you like to watch
  3. What else is the interview?
  4. Tencent Ali choose what, why choose Tencent
  5. Whether or not the only
  6. What does the family want to do

 

conclusion

Finally, my friend told me that during the interview, I not only got the Offer, but also found my girlfriend when I was most nervous and at the lowest point. After listening to the interview, I was really jealous and envious! Finally, I wish you all more offers and meet the right people.

Finally, I will share the interview materials and study notes with you for free. I hope it will be helpful to you!

Materials to receive: pay attention to the public below to obtain their own, there are more big factory interview materials and video oh!

 

Love programming, love to share, heard that the likes + attention are into the factory oh!!