Current location - Quotes Website - Signature design - Baidu face classic summary
Baidu face classic summary
Baidu face is summarized as follows:

Facial meridian 1

Components of 1.shiro

2. Distributed consistency algorithm.

3. city zoo, can those who can vote and the team leader vote?

4.netty zero copy implementation.

5.volatile, how to perceive the change of variables?

6.redis is highly available.

7.7. How does HTTP cross domains?

8.8. How long is the TCP link?

9.9. How does HTTP operate the browser cache?

10. Have you ever used message queuing?

1 1. How to extend the validator yourself?

12.jwt constitutes the encryption algorithm of those header payload signatures.

13. How does RSA apply to jwt?

14. What is the difference between synchronization and variability?

15. What is the process of context switching and URL resolution?

16.http What are the ways to get those?

17. The difference between a process and a thread.

18. What if there is a conflict in collaboration with others?

How to learn a new language?

20. How did you teach yourself?

Facial meridian 2

2 1. Talk about IO reuse.

22. The reuse you just mentioned is aimed at various requests (such as set, get), so what about the return value Redis?

23.MySQL b+ tree is generally several layers. How to calculate?

24. Database isolation level.

25. Dirty reading, unrepeatable reading and illusory reading (combined with specific scenes).

How about 26.26? What is the isolation level of MySQL?

27.MVCC .

Redo log, undo log.

29. The process of brushing dirty pages.

30. Algorithm problem: square root.

Facial meridian 3

3 1. Introduce yourself.

32. Is the project a self-training project? How did you find it?

33. Is the project built from scratch, or is there an open source scaffold?

34. What are the things used in seconds kill and how are they realized?

35.MQ idempotency and message backlog.

36. Consistency between cache and database data.

37. unique ID.

How to ensure multithreading mutual exclusion in 38.Java?

39. What is the state of the thread?

40. How does AQS understand it?

41.the process of creating Bean by the springioc container.

42. Is the Bean created single or multiple?

How is 43.43? SpringCloud config updates the value of the Bean after it is created?

44. The principle of automatic configuration of jumping boots.

45.SpringMVC implementation process.

46. What are the advantages of using Spring and directly using Java language for object-oriented development?

47. How to understand object-oriented?

48. What design patterns do you know?

49. Describe the strategic model.

50. What modules does the JVM consist of?

5 1. How to realize SPI that breaks the parental entrustment mechanism in the framework?

52. Then talk about the appointment of parents.

53. What are the main areas for garbage recycling?

54. How to identify what is garbage?

55. What is the root node?

56. When will all GC appear?

57. Differences between different garbage collectors.

58. Why does TCP shake hands three times and wave four times? What is the general process?

59. Implement circular queues (arrays, add and delete functions).

60. Reverse the linked list (iteration).

Facial meridian 4

6 1. Does the major favor hardware?

62. How much do you know about Baidu?

63. What are your hobbies?

64. Do you often play ball?

65. What music do you like to listen to?

Do you often listen to music? When did you begin to like listening to music?

67. Name two specific songs.

68. What kind of person is he at ordinary times and what are his characteristics?

69. Have you ever done anything with a sense of accomplishment?

70. What is the probability of choosing Baidu later?

7 1. Have you ever thought about yourself in five years 10?

Facial meridian 5

72. The interviewer introduces himself and then introduces himself.

What thread pools are there in 73.java? Why use a thread pool? Where have you used or seen it?

How about 74.74? Has Mysql been implemented at the bottom? What about memory layout and disk layout?

What is the index of 75.75? Mysql has? What problem does the difference between B-tree and B+ tree solve?

76. Explain the try catch finally mechanism?

77. Why do you want to use SpringBoot for development? How is it different from traditional development?

78. What is microservice? How does microservice realize service registration and discovery?

What is the set classification of 79.java? Do you know the queue? What implementation classes does she have below? Why not pay attention to HashMap?

80. Which collection classes in the collection are thread-safe?

8 1. What is a digital signature and what is its function? What algorithm is used?

82. What are the common cyber attacks?

83. What kind of attacks are easy to launch when the form is submitted?

84. How to authenticate when making service calls and how to prevent network attacks?

85. What security frameworks have you seen? How exactly is it used? (Shiro)

86. Two algorithmic problems: (1) ordinary method of bisection, asked some details. What's wrong with method of bisection? (2) Judge whether there is an arrangement of S2 in S 1, and return true if there is, otherwise return false.

87. What are the usage scenarios of cookie and session, and what is the relationship between them?

88. What is the difference between String, StringBuilder and StringBuffer, and the difference between two initialization of String?