Joke Collection Website - Blessing messages - Tencent Interview Questions Arrangement and Experience Skills
Tencent Interview Questions Arrangement and Experience Skills
The starting point of my career started from Tencent, and it was very accidental to join Tencent. In 2009, when Tencent enrolled students, I held a seminar at the school (the name of the school is No.2, so I don't know). Many students in the college went, but they didn't go because they were not interested in Tencent at that time. At that time, they hoped to go to a traditional software company like ChinaSoft Kingdee. A dormitory brother is going to take the written test of Tencent's school recruitment, and I will accompany him as a family and friends group. Tencent's hr person is very kind and gave me a pen test and wish list for me to fill out. I wanted to go home directly by bus from the north gate of the school. Since I'm here, there's nothing to write about anyway, just to warm up for finding a job in the future. The written content of Tencent interview is mainly about programming basis and sorting search algorithm, as well as recursion with programs, which I forgot.
The test paper feels very simple, and the additional questions are answered (I am a master of professional courses, and other scientific scum). I went home by car without looking up the answer. I received a text message from Tencent at dinner, asking me to go the next day. It happened that my parents' classmates in Nanshan came to my home, so I hitchhiked back to school to prepare for the next day's interview.
The interviewer at Tencent was very nice and my later team leader. He is a very charming person. When I went, he specially poured me a glass of water. Tencent interview officials mainly asked me about the technology I know, so I introduced C++. Net and J2EE projects, such as rule engine, financial system, academic early warning system and crawler engine. It's a little difficult to recall, because I was completely unprepared. Fortunately, the interviewer didn't make things difficult and played well. Asked if Java's memory mechanism will lead to memory leakage, this answer is not very good; I asked the mechanism and function of hibernate, and I answered, so I wrote the core code and regular expression of the crawler program.
I felt that there was a 30-minute play on one side, so I went back and prepared the contents on both sides, and turned over the engineering code of that year to review it to avoid the embarrassment of forgetting it again. Tell me to go to the technical side soon the next day. The second side of technology is the legendary pressure side, which has been abused. None of the questions in the project were asked, all about the operating system and data structure. Fortunately, all majors are A+, and most questions are answered. You asked me to turn a tree into a binary tree. It's nothing. I also asked about the Java memory mechanism, whether there will be memory leaks, and under what circumstances. I read it carefully when I got back, and the answer was perfect. The last question is to find the QQ number. Small case, wrote a method of bisection; He said, do you think I will be satisfied? I thought about it and wrote a hash search, but he said I was still not satisfied. At this time, I was a little upset, so I said I didn't know. The interview ended in a somewhat awkward atmosphere. At that time, I felt hopeless and a little lost. I went home and saw the introduction of the algorithm. It turns out that there is an extremely efficient algorithm called interview between method of bisection and Tencent. Alas, I have been prompted, but I haven't thought of it yet. It's a pity
When I received an hr interview invitation from Tencent a week later, to be honest, I was surprised. I heard that the undergraduates in our school were wiped out, and I was the only one who passed both sides, and only three graduate students passed both sides. There is nothing special in hr, so I won't show it here. I was still a little excited to receive the official offer from Tencent a week later. The salary exceeded my expectation, but the most important thing is that the interviewer looks very powerful and feels that Tencent is also a very powerful company.
I have worked in Tencent for four years, three years formally and one year as an intern. Later, he began to be responsible for recruitment. When selecting job seekers, our department mainly looks at soft power such as intelligence, vision, overall situation and gas field. I was in charge of picking up a child at that time, and everything was fine. The team leader thought it was ok, but it was taken by the director because it was too soft and domineering. There is another buddy, whose skills and basic feelings are ok, but he was shot by the team leader because of his lack of vision and intelligence.
Therefore, it is suggested that students who are going to Tencent for an interview should pay more attention to the latest developments of the Internet and practice their expressions. If you can criticize Tencent's recent decision-making mistakes and product defects in the interview, whether right or wrong, you will think that this child is good, then you will definitely get extra points; But not too much. It's totally wrong. Talking about Kan Kan will make people think that you are grandiose and will be shot. The balance of scales is very important. One more thing, students who speak fast, have firm tone, firm eyes and self-confidence have a higher chance of success than those who speak slowly and express fluently. I know a buddy, and later he became the head of my field, which is another story. He was very confident in the interview. If he asks some "retarded" questions, he will be sarcastic. At that time, everyone thought that this person was very powerful and the interview went smoothly. 1 day met five times and made an offer on the same day. Tencent interview and Tencent social recruitment are telephone face, technical face, team leader face, platform director face, department manager face and hr face. There were 6 interviews and 5 interviews.
First of all, be confident in the interview. If you can be modest, you have already succeeded half way. I feel that most programmers are not confident, which makes people feel a little weak. If you are not confident in yourself, how can you expect the company to have confidence in you? But you can't be too confident. Confidence is arrogance. If you meet a person with 2 years of development experience and ask him if he doesn't know technology, he will talk about the project. Tencent interviewed him and asked him what he had done in the project and what the project was. He was beaten here and asked if you could drive to 30w, so I had to let him go home and wait for news.
Sorting out interview questions of Tencent —— Answers from netizens are attached for the reference of interested students.
An indefinite multiple-choice question (***25 questions, 4 points for each question, *** 100 point, less, wrong, multiple choices will not be scored).
1 Know a binary tree. If the node order of the first traversal is ADCEFGHB and the middle traversal is CDFEGHAB, then the result of the last traversal is (d).
A.CFHGEBDAB . cdfeghbac . fghcdebad . cfhgedba
Binary tree can be uniquely determined according to priority traversal and intermediate traversal:
Note: In order to uniquely determine a binary tree, you must know two kinds of traversal, among which there must be an intermediate order, because the first order and the last order cannot determine the left and right subtrees, as shown in the following figure:
As can be seen from the above picture, a tree cannot be determined without a middle order!
2 Which two data structures have high search and delete performance at the same time? (CD)
A. ordered array B. ordered linked list C.AVL tree D. hash table
The performance of deleting array is poor, and the performance of searching linked list is poor!
3 Among the following sorting algorithms, which time complexity will not exceed nlogn? (BC)
A. Quick sorting B. Heap sorting C. Merge sorting D. Bubble sorting
In the worst case, the time complexity of quick sorting and bubble sorting is O (N2);
4 The initial sequence is 18625473, and a group of numbers are sorted by heap. After the heap (small root heap) is completed, the sequence of traversal in the binary tree corresponding to the heap is: (a)
a . 325 1647
B.3285 1467
C.3825 1674
D.8235 1476
The process of building a small root heap is shown in the following figure:
5 When n=5, the return value of the following function is: (a)
intfoo(intn){
If (n & lt2){
returnn
}
other
return foo(n- 1)+foo(n-2);
}
A.5B.7C.8D. 10
6S City has Area A and B***, with a population ratio of 3: 5. According to historical statistics, the crime rate of A is 0.0 1%, and that of B is 0.0 15%. There is a new case in S city, so what is the possibility of the case happening in a district? (3)
A 37.5% B 32.5% C 28.6% D 26. 1%
3*0.0 1%/(3*0.0 1%+5*0.0 15%)=28.6%
7 7 in 7Unix system can be used for communication between processes? (ABCD)
Interprocess communication mainly includes pipeline, system IPC (including message queue, semaphore, * * * * shared storage) and SOCKET.
A.SocketB.*** Enjoy memory C. Message queue D. Semaphore
8 In which area of the process are static variables usually stored? (3)
A. Stack area B. Heap area C. Global area D. Code area
The stack area is generally used to store relatively small temporary variables;
Heap area is generally used to store relatively large temporary variables;
The code area is used for storing codes;
The global area is used to store global variables, static variables, etc.
9 query performance (b)
A. add a primary key to the name field.
B. add an index to the name field.
C. add a primary key to the age field.
D. add an index to the age field.
If you often search or sort records in a table by specific fields, you can speed up these operations by creating field indexes.
10IP address131.153.12.71is a class (b) IP address.
A.AB.BC.CD
Class a: starting from 0
Class b: 10 at the beginning
Class C: 1 10.
Class d: 1 1 10.
1 1 The language of the push-down automatic recognizer is: (c)
A.0 language B. 1 language C.2 language D.3 language
Reference: Wikipedia
12 the output of the following program is: (d)
#defineadd(a+b)a+b
intmain()
{
printf("%d\n ",5 * add(3+4));
return0
}
5*3+4= 19
A.23B.35C. 16D. 19
When 13 browser accesses a page and the status code returned by HTTP protocol is 403, it means: (b)
A this page cannot be found.
B no entry
C internal server access
The server is busy.
14 If a system is established 15*4= 1 12, the system adopts (a).
A.6B.7C.8D.9
Bring them in one by one:
For hexadecimal: 15, the decimal is11; 1 12 is 44 in decimal, 1 1 * 4 = 44.
15 The frequency of each letter in a paragraph is {a:4, b:3, o: 12, h:7, i: 10}. If huffman encoding is used, which encoding is possible? (1)
aa(000)b(00 1)h(0 1)I( 10)o( 1 1)
ba(0000)b(000 1)h(00 1)o(0 1)I( 1)
ca(000)b(00 1)h(0 1)I( 10)o(00)
da(0000)b(000 1)h(00 1)o(000)I( 1)
- Related articles
- My long-distance girlfriend told me if I had breakfast. What should I say?
- I often receive short messages with numbers beginning with 106586989. How to cancel this service?
- What does the light contract of 5g terminal mean?
- Gitzo texted that it had a loan.
- Mobile phone love short message daquan
- Cool God F 1 Telecom Edition, why does the mobile card receive a short message with an unknown name and the sender's content is empty?
- Beautiful sentences describing the winter solstice
- How to check how much money is in your ABC card?
- How to view deleted SMS records?
- How to remove the odor in the urine bucket?