Ali P8 technical interview questions: Redis+jvm+MySQL+bubble sort

 

 

one side:

  1. The difference between ArrayList and linkedlist. Whether the ArrayList will be out of bounds.
  2. What is the difference between ArrayList and hashset. Is the number stored in hashset in order?
  3. The difference between volatile and synchronized
  4. The principle of polymorphism
  5. The difference between the database engine Innodb and myisam
  6. Redis data structure
  7. Is Redis memory-based?
  8. The underlying implementation of Redis's list zset
  9. The difference between http and https, tcp handshake process
  10. jvm garbage collection algorithm handwritten bubbling
  11. Handwritten singleton includes multithreading
  12. How to achieve synchronization between Java threads, the difference between notify() and notifyAll()
  13. Application scenarios of pessimistic locking and optimistic locking of the database.
  14. The complexity of the sorting algorithm, quick sort is not recursively implemented.
  15. Mass data filtering, blacklist filtering a url.

Two sides:

1. Ask about bubble sorting, fast sorting, and merge sorting and its advantages and disadvantages and optimization

2. There are seven layers of osi and five layers of tcp/ip in the network, what are the protocols and functions

3. What data structure does the crawler use?

4. TCP flow control and congestion control

5. What storage engine does mysql use, what data structure does this storage engine use, what are the advantages and disadvantages, and how to use it

6. Jvm garbage collection mechanism and garbage collector

7, the isolation level of things in spring

8. New features of jdk1.8 concurrenthashmap, have you seen the source code?

9. Do you understand threadlocal?

10. I asked some questions about redis, which are included in the project (capacity expansion, invalid key cleaning strategy, etc.)

11. The rest are the things of the project (kafka filebeat elk principle, master-slave election, replication, etc.)

12. I asked about some big data related to the extended later, and asked me if I have any understanding of some big data processing frameworks

Three sides

  1. The type of index, the underlying implementation principle of the index
  2. The difference between row lock, table lock, pessimistic lock, and optimistic lock corresponding to MySQL database
  3. MySQL database engine? Application scenario? Query optimization? Is NoSQL useful or understood?
  4. mysql transaction talk about transaction definition, four natures, problems caused by transaction concurrency, four isolation levels of transactions
  5. Spring IoC, AOP, have you seen the underlying code, why does the scope have a prototype?
  6. Talk about the design patterns you know, do you know what the callback pattern is?
  7. How to implement the strategy of high concurrency system and massive data sub-database sub-table
  8. Redis cache in front of the database, how to achieve query load balancing
  9. Why choose Alibaba? What are your working principles for work?

The above are the three-sided questions about Ali's latest technology, and the following is the latest summary of Ali and other BAT interview java required questions and answers.

 

 

Guess you like

Origin blog.csdn.net/weixin_51204715/article/details/109296462