Alibaba Java R&D: 116 interview questions with answers for 4 core business units (latest finishing in 2020)

If you have participated in many company interviews, but have not got the ideal offer in your mind, or the probability of getting an offer is particularly low, the reason is simple, you may have loopholes in your technical knowledge.

Java interview is to sort out, assess and review the technical knowledge stack

Every Java interview is actually a learning opportunity, combing, evaluating, and reviewing one's technical knowledge stack. We should take the attitude of learning, take it seriously, find our weaker links, and check the missing parts as soon as possible to learn and consolidate.

After a round of careful review, you will find that your technical knowledge stack is getting more and more substantial. If you challenge a good offer at this time, the probability of success will undoubtedly increase a lot. When you have the opportunity to participate in the interview with your favorite company or BAT manufacturer, you can at least answer most of the questions with ease~

Brushing the real interview questions from a big factory is one of the best ways to check for omissions.

The following are the newly summarized 2019 Alibaba Group Java post interview questions and share them with children who need them (answers are sent at the end of the article). If you want to change jobs and harvest your ideal offer, or you want to work in big factories such as BAT, it is recommended to collect.

Friends who need this interview information can follow it and add the VX below to get it

The latest summary of 2019 Alibaba Group Java post interview questions

Share with the children's shoes in need (answer at the end of the article). If you want to change jobs and harvest your ideal offer, or you want to work in big factories such as BAT, it is recommended to collect.

[Ali Tmall, Ant, Dingding Interview Questions]

1. How to realize WeChat red envelope.

2. Mass data analysis.

3. Thread-safety and non-thread-safety asked by the test position.

4、HTTP2.0、thrift。

5. Interview telephone communication may first introduce yourself.

6. Distributed transaction consistency.

7. The underlying implementation of nio.

8. The basics of jvm must be asked, the principle of jvm GC, how does JVM reclaim memory.

9. What is Java?

10. The difference between API interface and SDI interface (API is an interface provided to others).

11. How does dubbo make multiple calls in one link? Dubbo's principle, serialization related issues.

12. Which middleware have been used.

13. Haven't worked with a workflow engine.

14. Previous work experience, what I think shines (Dingding)

15. Some principles of thread pools, the mechanism of locking up and down (Tmall, Ant)

16. From the perspective of the system, which latitude should be considered for distribution (Tmall)

17. How to realize the bottom layer of Hadoop (Tmall)

18. threadLocal, thread pool, hashMap/hashTable/coccurentHashMap, etc. (Tmall)

19. Design of spike system (Tmall)

20. Virtual machine, IO related knowledge points (Tmall)

21. Linux commands (Tmall)

22. An integer array, given a number, find the sum of two numbers in the array equal to this number, and print it out. The time complexity I wrote is high and requires O(n). (Tmall)

23, n integers, find out that the sum of consecutive m numbers is the largest. (Tmall)

24. Pay more attention to open source technology (Ant Financial Shanghai)

25. The principle of database lock hiding (Ant Financial Service)

26. 1000 threads are running at the same time, how to prevent not getting stuck (air trip)

27. Parallel concurrent consumption problem (air travel)

28. How to deal with hotspots and data if high concurrency is large (Ant Financial)

29. How to get a port available on a local server

30. Issues related to flow control (Ant Financial)

31. What is the database TPS and whether it has been tested (Tmall)

32. What are the solutions to cache breakdown (Tmall)

33. How does Java mine the relevant principles of the collector (fortune)

34. What are the collections of Java and what are their characteristics (information platform)

35. Distributed lock, redis cache, spring aop, system architecture diagram, MySQL features (information platform)

36. Scenario, pay 100,000 people at the same time, how to design a concurrency plan to ensure that it is all sent within 1 minute, for example, a similar scenario will be proposed (information platform)


[Alibaba interview questions]

1. What are the three parts of the java event mechanism? Introduce separately.

2. Why use thread pool?

3. What is the function of thread pool?

4. Talk about several common thread pools and usage scenarios.

5. What kinds of work queues are there in thread pools?

6. How to understand unbounded queue and bounded queue?

7. Several important parameters and process descriptions in the thread pool.

8. What is the reflection mechanism?

9. Talk about the role of reflection mechanism.

10. Will the reflection mechanism have performance problems?

11. How do you understand the http protocol?

12. Talk about the workflow of the http protocol.

13. What are the request submission methods for http?

14. What status does the 200,302,403,404,500,503 in http represent?

15. What is the difference between http get and post?

16. How do you understand cookie and session, and what are the differences?

17. What is web caching? What are the advantages?

18. What is https and how does it work?

19. What is an http proxy server and what is it for?

20. What is a virtual host and its implementation principle?

21. What is the Java virtual machine and why should I use it?

22. Talk about the life cycle and architecture of the Java virtual machine.

23. Talk about the Java memory area.

24. What is a distributed system?

25. What aspects would you consider for distributed systems?

26. Talk about the three-way handshake and four-wave handshake process of the TCP protocol.

27. Why is TCP a three-way handshake for establishing a connection protocol, but a four-way handshake for closing a connection? Why can't I connect with two handshake?

28. Why does the TCP TIME_WAIT state need to wait for 2MSL before returning to the CLOSED state?

29. What are DoS, DDoS, DRDoS attacks? How to defend?

30. Describe the Java exception hierarchy.

31. What is check exception, not subject to check exception, runtime exception? And give examples to illustrate.

32. Will the finally block be executed?

33. Under normal circumstances, when a return statement is encountered in a try block or a catch block, will the finally statement block be executed before or after the method returns?

34. The execution order of try, catch, and finally statement blocks.

35. In the Java virtual machine, how many types of data can be divided into?

36. How to understand stack and heap? What's in the heap? What is stored in the stack?

37. Why distinguish between heap and stack? Isn't it possible to store data in the stack?

38. In Java, what is the starting point of the stack, which is also the starting point of the program?

39. Why not put the basic types in the pile?

40. What about passing values ​​when passing parameters in Java? Or pass by reference?

41. Is there a concept of pointer in Java?

42. In Java, what parameters are used to set the stack size?

43. How much space does an empty Object object occupy?

44. What are the types of object reference types?

45. Talk about garbage collection algorithms.

46. ​​How to solve the problem of memory fragmentation?

47. How to solve the problems of object creation and object recycling that exist at the same time?

48. Talk about memory generation and life cycle.

49. Under what circumstances will garbage collection be triggered?

50. How to choose a suitable garbage collection algorithm?

51. Is there a limit to the maximum heap size in JVM?

52. What parameters are used to set the heap size?

53. What are the three garbage collectors for JVM?

54. Which garbage collector is preferred for throughput? Is response time a priority?

55. How to tune the JVM? What are the methods?

56. How to understand the memory leak problem? What are the circumstances that can cause memory leaks? How to solve?

57. From the perspective of distributed system deployment, what are the layers?

58. How to solve the problem of data access in the business layer?

59. In order to solve the burden of the database server, how to distribute the database?

60. What is the famous Byzantine generals problem?

61. Why is the TCP/IP protocol unreliable?

62. Talk about the CAP concept.

63. How to understand strong consistency, monotonic consistency and ultimate consistency?

64. What strategies will you consider when designing distributed systems?

65. What is the most common data distribution method?

66. Talk about the consistent hash algorithm.

67. What is paxos?

68. What is the Lease mechanism?

69. How to understand the main selection algorithm?

70. Which seven-layer model does OSI have? Which four-layer model is TCP/IP?

The following are the latest BAT required exam questions and answers, including the scope of the required exam questions and the answers to the questions.

Latest BAT required exam questions and answers

PS. Covers Java interview questions and answers such as Ali, Toutiao (ByteDance), Baidu, Tencent, Pinduoduo, etc.

Alibaba Java R&D: 116 Interview Questions for 4 Core Business Units to Send Answers (latest in 2019)

PS. Covers Java interview questions and answers such as Ali, Toutiao (ByteDance), Baidu, Tencent, Pinduoduo, etc.

How to get:

Follow + forward, scan the code and add the VX below to get

 

Guess you like

Origin blog.csdn.net/sinat_37903468/article/details/109249228