After reading the interview summary of the boss, it turns out that entering a big factory is so simple

Preface 

In fact, in the early days, I imagined the end of the autumn trick countless times, and then wrote a long experience post that kind of satisfaction. Below, try to record what I know and the questions I think are more important and meaningful during the interview process.

 

Baidu

one side

  1. Simple introduction
  2. Why choose SpringBoot in the project;
  3. What are the advantages of SpringBoot;
  4. How to start SpringBoot;
  5. Do you know SpringMVC, can you talk about the role of SpringMVC?
  6. The difference between == and equals? (Ask what equals judges before rewriting equals?)
  7. The advantages and disadvantages of master-slave replication of the database;
  8. Redis data structure and usage scenarios of Redis in the project;
  9. Redis regularly cleans up data (what else is there in addition to setting the expiration time of the key?)
  10. The common commands of Linux are really hard to remember (asked how to query the process, how to modify the rights, etc.), the Linux commands really need to take a good look. . .

Summary: I thought that Baidu met a lot of Java-based people, but at the beginning, I was always holding on to the project and asking about SpringBoot. . . The interviewer is a very nice lady, very patient throughout the whole process, and will explain what is unclear, a very good interview experience. . .

Baidu two sides

  1. hashmap和hashtable
  2. Related issues of tomcat server, this one knows too little, don’t know anything
  3. The traversal method of the binary tree and the corresponding time complexity
  4. Algorithm question:
  • 1. Count the word frequency of 1000 characters, and select the 10 most frequent occurrences
  • 2. There are 1 to 100, 100 numbers in an array, modify any one of them to -1, find the modified number
  • ……

    Then I asked about other things, and started talking about life and ideals, it didn’t feel like two sides, like hr noodles (although I did not have hr noodles before...)

    Discuss life... and ask if you have any thoughts of transferring to a test post... Hey, I feel the humbleness of the transition, and I don’t know what the interviewer means, and then I start to explore the reasons for the change... How to study, etc... My life plan... I feel a chill behind...

    But whenever I talk about the problem of changing careers, I am really emotional. I only know some of the sufferings of changing careers. There is no way. To achieve the goal, I can only move forward with heavy burdens.

NetEase

Netease pushes the batch side

1. Introduction

2. List and set in the Collection class in Java;

3. The difference between ArrayList and LinkedList;

4. The underlying structure of TreeSet;

5. Multi-thread synchronization method in Java;

6. The volatile keyword;

7. Methods to resolve hash conflicts;

8. Tree structure (left-handed and right-handed for binary trees and binary balanced trees, traversed in front, middle and back order of binary trees);

9. Diagram structure;

10. Do you know Linux?

11. Do you understand distributed, talk about the distributed used;

12. The principle of MySQL's master-slave replication, full replication and incremental replication;

13. Do you understand MySQL indexes?

14. The realization principle of Spring AOP and IOC;

Rhetorical link:

1. What do you think of my performance:

The basics of Java are quite good, but some details still need to be refined;

2. How many more rounds are there if you pass the interview?

I don’t know this, I need to ask hr. (My heart collapsed when I heard this passage. After reading so many scriptures, I usually respond like this, basically it’s cold)

3. How long will it take to get results?

I don’t know this too well, but I told you directly, it was for you. When there will be a notice, it depends on hr.

Netease internally pushes two sides of batches

  1. Self introduction;
  2. How can the user visit other pages after logging in;
  3. Set the redis survival time mark;
  4. Where are the login credentials stored on the front end;
  5. How to set the front-end cookie on the back-end;
  6. Do you understand cookies;
  7. Cookie survival time setting, less than 0, equal to 0, greater than 0;
  8. Three handshake and four wave of tcp;
  9. Wait_time waved four times, why is it 2ms and how to set 2ms;
  10. Do you understand the smp protocol in tcp?
  11. Do you know ping?
  12. Index in mysql;
  13. Why does the non-clustered index use pointers;
  14. How to use the tool to check whether the index is gone;
  15. Optimization of the database in the project;
  16. How does mysql conduct elections? priority?
  17. sql optimization;
  18. http response code;
  19. http request method;
  20. The characteristics of the head request method;

Code question:

  • 1. Determine the number that appears only once in the array (hashset or XOR)
  • 2. The layer sequence traversal of the binary tree, and how to realize the s-type sequence output
  • 3. Use two queues to implement a stack or use two stacks to implement a queue

Meituan

Meituan technical side

1. Self-introduction;

2. Explain what you have learned in the basic part of java;

3. Which design patterns are used in the JavaIO stream;

4. What are the JavaIO streams and what are the differences;

5. Then there are a series of small problems with Java byte stream and character stream;

6. The underlying structure of LinkedBlockingQueue, how does LinkedBlockingQueue realize blocking;

7. Lightweight locks in Java;

8. (Code) Find the kth node from the bottom of the linked list;

9. Why STW is needed;

10. The process of CMS;

11. JVM that does not use the parental delegation mechanism, or examples of violations of the parental delegation mechanism in Java;

12. What kind of problems will be caused by not using the parental delegation mechanism;

13. Does TCP/IP refer to two protocols?

14. Problems solved by the transport layer and network layer;

15. The encryption process of https;

16. I wrote a SQL: select * from table where name ='zhangsan';

    1) If the name is not indexed, the execution process of the SQL;

    2) Index related issues;

    3) Related issues of database optimization;

    4) How to add row lock to SQL;

17. Redis's mechanism of one master, two slaves and three sentinels;

18. How does Redis single-threaded realize master-slave replication.

19. Logic problem: Prove that x> x + 1

Meituan Technology

2. How do you study by yourself?

3. Why not cross the exam;

4. Memory management mode;

5. The relationship of segment page storage;

6. Process scheduling algorithm;

7. The scheduling algorithm currently selected by the operating system;

8. The difference between tcp and upd, which layer belongs to;

9. Open question: how to set the transport layer protocol of each module of the Niuke interview website;

10. Thread pool parameters. Why is the choice of the number of core threads in the cpu-intensive and io-intensive thread pools?

11. Locks in java, spin locks;

12. The thread safety problem of hashmap, in addition to the head insertion method, other scenarios except the endless loop of the linked list;

13. There are many questions about arraylist and hashmap, but they are not the ones that can be memorized in the face. You must read the source code and be very clear in order to answer them clearly;

14. JVM, and gc issues;

15. Class loading mechanism;

Algorithm question:

1. Find the number of nodes in the kth level of a tree

2. Sequence traversal and recursion

to sum up

Everyone may encounter some setbacks. I hope that when you want to give up, think about your original determination, and then think about the joy of success. In fact, you persevere. There are not many ups and downs in your life. Maybe it is your first step to change yourself and get out of your comfort zone! Come on!

 The editor has also sorted out the above interview questions and answers for everyone: click here to get it for free, the code: CSDN , there are more interview topics and videos from major factories!

 The above information: Click here to receive it for free, the code: CSDN , there are more interview thematic materials and videos of big factories!

Guess you like

Origin blog.csdn.net/qq_43080036/article/details/108951259