Baidu Core Search Interview

Some of my interview experience, I hope it will be useful to you!

one side:

1 Introduction

2 How much do you know about docker and k8s

3 What courses did graduate students learn?

4 What about the operating system, talk about processes and threads

5 Deadlocks and handling methods

6 Memory, virtual memory and page replacement

7 Do you understand the network? Tell me about the three-way handshake and the four-way wave

8 How much do you know about the database, mysql indexes, transactions, and locks?

9 Redis, talked about the data structure, persistence method, usage scenarios

10 Distributed understanding, what are the methods of load balancing, talked about dns, nginx, lvs and hardware, how to solve the consistency problem, talked about 2pc, 3pc, raft and paxos, zab

10 mysql big table data query, how to optimize, sub-table, sub-database.

Judge

Use fast and slow pointers to solve

12 Complete binary tree judgment:

Two sides

1 item

2 Principles and understanding of docker and kubenetes

3 Do you understand docker's cgroup?

4 The architecture of kubenetes and how the expansion is completed.

5 Four references to Java

6 Java's thread communication method

7 Linux process communication method

8 Java thread pool

9 Algorithm

Take out N of these numbers from 1-N + 1, and ask which one is left. .

I said adding up and subtracting, but the interviewer said it was a trick.

When I said comparing array subscripts, he still said to be tricky.

So I asked him to remind me, he said to sort and then look for it. . amount

Then I thought of two ways to change space for time, one is to use hashmap to traverse two arrays. One is the number of occurrences of statistics after merging the arrays, which is also a hashmap

Given a string of numbers, find all possible IP address combinations, such as 192168111, the combination is 192.168.1.11, 192.168.11.1.

It should be LeetCode's question. I didn't write it completely before, and it came out on the spot.

This code should be correct. The interviewer watched for twenty minutes before saying ok.

Then we were silent for 20 minutes, and he said a few words in the middle.

Three sides

1 item

2 Family situation

3 Challenges of Studying and Living

4 ways to learn new technologies

5 explain docker

6 Intentional cities and job orientation




Guess you like

Origin blog.51cto.com/15115139/2678957