Xiaomi Interview topics (test development positions-not tests, test tools and platform development positions)

Source: Internet
Author: User

The current experience of Xiaomi's rounds of interviews, are technical interviews.

Each interview form is the first telephone communication, ask some project related things, and basic knowledge, and then write code on the line. On three sides, I did 6 programming questions altogether.

The following unified to do the finishing:

Side:

(1) Telephone communication:

1. Ask questions mainly around the items you write on your CV. Feel millet interviewer level is higher, because unlike Hujiang's Java interviewer, ask a computer what is recursion.

2. Give you two tables, transform various scenes, write different SQL. Mainly to investigate the use of various keywords, distinct,group,order by,offset

3. Use shell commands to perform various processing of a file

Investigation of 4.http Protocol status code

5. On the interface of concurrent access, multithreading and other issues

(2) Online programming:

1. Write a simple singleton pattern code

2. What design patterns have been exposed?

3. List a->b->c->d is reversed into a<-b<-c<-d. Reverse the list, define a function, enter the head node of a linked list, reverse the list and output the head node of the inverted list, as defined in the list:

struct listnode{int             pKey; ListNode* pnext;};

4. determine whether an array is a subsequent traversal of a two-fork sort tree, write a method, enter a value of an array of integers, and the output is true or false. (assuming that any two integers in the input integer array are not the same) can this problem be written in Java? Any ideas you can write about

Two sides:

(1) Telephone communication:

1. It is still a matter of talking about the item on the resume first;

2. polymorphic

3. Enter what happens after the URL

(2) Online programming:

1. There is a list of links, each of which contains a pointer to the next node, and a pointer to any node in the link. It is now necessary to implement a cloning algorithm for such linked lists.  

Complete the Code implementation of clone (C + + or Java or other languages) to minimize the use of the secondary space.  

C++:
struct
Node { node* next; Node* Random_node;} Node* Clone (node* head) {...}
Java: class Node {     node next;     Node Random_node; }node Clone (Node head) {...}

2. Use the shell to find the top 10 most frequently occurring keywords and the number of times from a log file. such as log file per behavior 2015-09-10

3. Panel:

1 2 3

4 5 6

7 8 9

0 <-

Display:

123

123

When the panel is clicked in sequence, the display corresponds to two lines, 123 and 123, <-is the fallback key, such as clicking the fallback button at this time, the display shows 12 and 12.

Write a program to achieve this function, panel click can be considered as standard input, display output can be considered as standard output.

Three sides:

(1) Telephone communication:

1. What do you think of the previous two rounds of interviews?

2. What do you think is the most promising project? Introduce

3. According to the above, the interviewer said a similar scenario, how to deal with

4. A scheme for detecting memory leaks is given.

5. A search engine, there are two search algorithms, give a solution, quantitative evaluation of the merits and demerits of the two algorithms.

1 "Evaluation criteria need to find ways to quantify;

2 "How to prepare data;

3 "Specific implementation plan ...

(2) Online programming:

  The code's comments are */* and//Two, give you a piece of code, remove the comments in the code, the output of the code after the comment

Xiaomi Interview topics (test development positions-not tests, test tools and platform development positions)

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.