Last month, the elder brothers resigned from a small factory, transferred to Ali Cloud, resume excellent, very smooth to get the interview notice, but after the progress has made the elder brothers doubt life, or let the elder brothers meng force is, the interview Ali cloud was the first time? Let the brothers began to doubt themselves, is not all these years of work, their own little progress?

Fortunately, after his friend’s recommendation, he had an interview with Huawei. The interview went smoothly and he got the offer soon. This makes the elder brothers more confused, 4 take the level of Huawei offer, interview Ali unexpectedly one side was suspended?

Simply, the elder brothers want to share this interview experience, let everybody old iron to help him good reference, give an idea!

In addition, I also sorted out the following review information of some of the elder brothers, there is a need for friends to pay attention to the sweep and add “VX” can be free!

Ali one side cool classics (one side actually asked 2 hours, what situation?

This time one side of the feeling is playing psychological warfare, the elder brothers’ psychological defense is basically defeated, face to doubt the degree of life, so the process of feeling is not too good, a lot of questions the elder brothers themselves do not feel good, or answer “lack of arms and legs”, or “gild the lily”.

  1. First, we talk about the project, from the architectural design of the project to the deployment process.
  2. What are Java containers? Which containers are synchronous and which are concurrent?
  3. Insert and access time complexity of ArrayList and LinkedList?
  4. Java reflection principle, annotation principle?
  5. How many regions are the Cenozoic divided into? What algorithm is used for garbage collection? Why use this algorithm?
  6. Under what circumstances does HashMap expand, or what operations can cause it to expand?
  7. How does the HashMap push method execute?
  8. Does the HashMap detect a hash conflict and insert the element at the end of the list or at the beginning?
  9. 1.8 also uses red black tree, tell me the characteristics of red black tree, why people must use red black tree instead of AVL, B tree, etc.
  10. HTTPS is different from HTTP. Is there any other secure transmission method used?
  11. What does a thread pool do? What does a blocking queue do?
  12. How does Linux check system load?
  13. Please describe in detail the springMVC request processing process?
  14. AtomicInteger: Why use CAS instead of Synchronized?
  15. In what cases do you not use indexes in a query?
  16. Database index, the bottom is how to achieve, why to use B tree index?
  17. How does Mysql master/slave synchronization work?
  18. How to use B+ tree in MySQL?
  19. What about optimistic and pessimistic database locks?
  20. What NoSQL databases have you used? What scenarios do MongoDB and Redis apply to?
  21. TCC service design describing distributed transactions?
  22. What’s the difference between Redis and memcache? Why does Redis have an advantage over Memcache?
  23. When considering redis, do you consider capacity? What is the approximate amount of data?
  24. How to compare distributed locks and distributed globally unique ids?
  25. What technical indicators should you pay attention to during cluster monitoring? How are these indicators optimized?
  26. What are the technical challenges of going from tens of millions of data to hundreds of millions of data? Your technical solution?
  27. The biggest setback that encounters most two years, what did learn from setback?
  28. Have you learned new skills recently?

Huawei four sides: 3 rounds of technical side +HR side (Huawei real experience, worth reference)

Huawei interview process is very smooth, one side of the question is relatively basic, so the whole man is quite confident in a state, the interviewer is also a “kind” way of question, so it is relatively relaxed, so the interview is smooth, get the offer quickly. The following are 4 technical questions about Huawei, not including HR.

Huawei technology:

  1. A brief description of the characteristics of object orientation and six principles
  2. Talk about the differences between Final, finally and Finalize
  3. Java ==, equals, hashCode
  4. Discuss the Java container ArrayList, LinkedList, HashMap, HashSet understanding, and application scenarios
  5. Talk about the basic state of a thread, where wait() sleep() yield() differs.
  6. What do monitoring tools for JVM performance tuning know?
  7. A few words about the JVM memory model, and the volatile keyword
  8. Garbage collector and memory allocation strategy
  9. Garbage collection algorithm
  10. MySQL several common storage engines are different
  11. Isolation level of the database
  12. How to arrange large files with 500 million integers?

Huawei Technologies:

  1. Java memory model
  2. How does full GC trigger?
  3. Gc algorithm
  4. JVM reclamation Policy
  5. Principle and application of ClassLoader
  6. Which GC algorithm to use for high throughput
  7. ConcurrentHashMap and HashMap
  8. How does the underlying implementation of volatile preserve visibility?
  9. Have you worked on any open source projects?
  10. Thread pool principle, rejection policy, number of core threads
  11. 100 million cell phone numbers, repeat
  12. What are the ways threads interact with each other? Are there any wrapped classes (Joins) for thread interaction?

Three aspects of Huawei technology:

  1. Double click, how to prevent repeat order?
  2. Database table design, index
  3. Redis cache elimination strategy, update strategy
  4. The principles of Dubbo, NetTY, and RPC are introduced
  5. Current limit algorithm
  6. What if ZK dies?
  7. Distributed lock implementation, ZK implementation and Redis implementation comparison
  8. Seconds kill scenarios designed to handle sudden bursts of traffic
  9. Distributed data consistency
  10. Consistency hashing
  11. This section describes the principle of message queuing
  12. Principle of annotation
  13. Database principle, database middleware, index optimization
  14. Ioc principles, AOP principles and applications
  15. Big data, MapReduce
  16. The principle of the Docker

2019 Big factory interview questions and answers

In fact, the elder brothers are not a lucky person, but a hard man, today’s, also depends on the efforts of the elder brothers, although Ali cloud is cool, but can enter Huawei, is also the accumulation of the elder brothers for many years, the following is the elder brothers to share a personal learning method and experience summary.

Learning methods and experience summary

All the information shown below can be shared for free. Just click “VX” to get it for free.

(1) Multiple brush questions

It is very important to brush some interview questions, even if you do not need to interview, but also often understand the large and small factory interview will ask what? What technology is popular right now and so on and so forth. So how does the elder brother brush the question? The brush questions are mainly divided into Java technology and algorithm. Some relatively new books are collected, including “Java Core Knowledge” and “Algorithm brush questions”. For example, there is LeetCode in algorithm.

LeetCode:

(2) Read more actual combat books of technical cattle

In fact, a lot of people are currently in a state of lack of actual combat experience, or do not know how to use the actual combat. So, it is very good to see some actual combat books written by danniu who is more excellent in technology, and how much can learn some actual combat experience. At present, THE practical books I have sorted out are relatively comprehensive, including Spring family barrel, JVM, concurrent programming technology, Redis related, MySQL tuning, Tomcat, ZooKeeper and other advanced technologies.

(3) Communicate more and think more

Last but not least, talk more and think more. Nowadays many programmers fall into a trap that they only work mechanically in the office all day long. In fact, communication is indispensable for programmers to make significant progress. So how do you get to know someone better than you? In fact, there are a lot of channels, the elder brothers personal approach is: (1) watch some technology live, in the live friends; ② Add some technical communication groups, more communication problems; ③ Participate in some offline activities, such as meetings, seminars and so on.

Write in the last

Learning is like climbing, although there is physical and mental exhaustion, but there are more beautiful scenery along the way, but no matter after reaching the summit of the overlook. Later, you will always exclaim that it was worth it.

All the interview questions and learning materials shown above can be shared with you for free. If you need them, you can get them for free.