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)
- Hashmap is different from HashTable
- Why do deadlocks occur
- The JVM class loading
- Java reflection takes private properties and changes the value
- Reflection USES
- Database used
- Project difficulties and problems
- How to solve problems encountered in the project
- The proudest part of the project
- What’s the algorithm?
Second face (Alipay Innovation)
- About the project
- Optimistic database lock usage
- The state machine
- How to solve the state machine misalignment problem
- How to divide database and table
- MySQL limit
- A HashMap source
- Design a thread-safe HashMap
- Implementation of fast sorting, time complexity and space complexity
- What’s the algorithm?
- How to turn a project into an SOA architecture
- Spring source code, the most profound module, AOP purposes
- JVM memory model
- Garbage collection mechanism
- View garbage collection in the project
Three Sides (Cainiao International)
- Permission management in projects
- How is login status stored
- What is the difference between session and cookie? How to manage session
- Underlying structure of HashMap
- Synchronized
- Synchronized modifies class methods and ordinary methods to lock the difference, after acquiring the class lock can also acquire the object lock
- Can the parent delegate model of a class loader load a class repeatedly
- The cache of the class loader’s class, what is the key
- Introduction of Redis
- How to distribute data among different Redis
- Do you know the mod algorithm?
- Apo implementation of Spring
- Bytecode structure
- Browser input url process, combined with SpringMVC
Four Sides (Cainiao International Supply Chain)
- How to handle a large number of hash conflicts in HashMap
- Red-black trees have advantages over BST
- Why does MySQL use B+ tree
- Can multiple indexes have multiple copies of data
- The isolation level of the database and the problem resolved
- The default isolation level of the database must generate a phantom read, how to resolve
- The whole process of entering the url into the presentation, in conjunction with SpringMvc
- Load balancing algorithm
- Haverman coding, how to solve the decoding problem
- Will internships affect work
- How do I view system load
- Describe a problem-solving process
- How to copy files from the server to the local, with what command
Fifth Side (Cainiao Technology Department)
- At that time how to find baidu this opportunity
- What technologies were used in the project
- How do you design the flow of the project and how do you design it
- MySQL uses an index structure for lookup efficiency
- MySQL query optimization
- MySQL slow query enabled, statement analysis
- HashMap lookup efficiency
- JVM memory model
- Design patterns, usage scenarios of policy patterns
- How to ensure singleton thread safety
- The default scope for Spring’s beans
- Knowledge of Netty
- Future Development Plan
- How to make code more complex to read
Six sides (HR side)
- Talk about where we’re going
- Talk about the problems caused by inexperience
- Tell me about the challenge Cup
- Tell me about your major contribution to the Challenge Cup program
- Practice time
- What offers have you received and how do you consider them
- Why not Tencent
- The difference between Tencent technology stack and Ali technology stack
tencent
One side
- The introduction of JQC
- How to ensure that multiple machines do not double consume
- How to ensure that feedback failures are consumed (with transaction management, save then consume, rollback on failure)
- How do I prevent database single point problems
- Paxos algorithm
- Raft algorithm
- Aop implementation of Spring
- Three operations,a:++,b:–,c:/2(only even), find the minimum number of times I changes to 1
- Talent development (take turns to try, propose tasks, encourage implementation)
- The breadth without depth is meaningless, from wide to curtilage, from shallow to deep
Second interview
- Handwritten multithreaded ticket code
- Handwritten ServerSocket usage code
- How many thread pools does JAVA have, and what about fixed thread pools
- Subinterface of Collection
- Interface of Map and Application scenario of HashMap
- The parent interface of Queue, usage scenario
- Primary/secondary database replication configuration
- Spring’s IOC advantage, what problem does it solve (decoupling)
- The life cycle of the Bean
- The scope of the Bean, the role of the Gobal Session
- Handwritten SpringMVC process
- How to balance life and work
- Career Development plan
- Why not take the postgraduate entrance exam
- Redirect is different from forward
- The biggest challenge in college
- The encryption algorithm
HR side
- What you like to do
- What kind of movies do you like to watch
- What else is the interview?
- Tencent Ali choose what, why choose Tencent
- Whether or not the only
- 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!!