2018, go to Baidu interview Java back end of an interview experience

Source: Internet
Author: User

One, Baidu side: # # #

1, give a function, return 0 and 1, the probability is P and 1-p, please implement a function, make the return 01 probability same.
2, 1 billion URLs, each URL size less than 56B, requires to go heavy, memory 4G.
3. Convert a BST into a doubly linked list.
4, HTTP and HTTPS differences, HTTPS in the request of the additional process, HTTPS is how to ensure data security;
5, IP Address sub-network division;
6, POST and GET differences;
7, the DNS parsing process;
8, hard link and soft connection difference;
9, kill usage, a process cannot kill the reason (enter the kernel state, ignore kill signal);
10, the use of Linux commands;
11, System management commands (such as viewing memory usage, network conditions)
12, the use of pipelines;
13, the use of grep, must master, each time will be asked in the document to find;
14, shell script;
15, find command;
16. Awk uses

Two, Baidu two side: # # #

Asked for something according to the resume.
1. Some instructions under Linux, $ (Process ID), $? (state when the previous command exited), how to view the process, sort by memory size, CPU consumption, etc. (Uppercase M and uppercase P)
2. Get and Post methods for HTTP.
3, introduce the epoll you know.
4, the database SQL understanding degree.
5, problems encountered in the project, how to solve their own and so on.
6, handwriting a full array.
7, B-Tree and B-tree.
8, introduce the hash, how to resolve the conflict.
9, the communication between processes, the advantages and disadvantages of shared memory mode.

Three, Baidu three side: # # #

1, say you usually look at some of the technical blog, books;
2, some of the instructions under Linux;
3. What do you think is the most unpleasant thing in your job?
4, say your advantages and disadvantages;
6, have you ever wanted to start a company;
7, write a strcpy function;
8, talk about your own character;
9, to give you a system (the interviewer seems to be the unmanned car department), the logic of the background has been achieved, but the front loading is very slow, how to detect;
10, the future may have to learn a lot of new technologies, how do you think;
11, the difficulties encountered in the project (think ahead well, and the implementation or optimization method to say clearly);
12, the system of magnitude, PV, UV, etc.;
13, dealing with high concurrency solutions (distributed);
14, in the project is mainly responsible for what work.
15, the load balance nginx;
16, the consistency of distributed cache, how to expand the Server (Hashi)

Four, the interview answer is as follows, # # #

Original: 81071302

2018, go to Baidu interview Java back end of an interview experience

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.