当前位置:网站首页>The computer is out of power. How did I pass the terrible interview of Tencent cloud?
The computer is out of power. How did I pass the terrible interview of Tencent cloud?
2022-04-23 20:59:00 【Descosmos】
First of all , This article is the summary of the author's interview with Tencent cloud Regional R & D company today
After introducing yourself, the interview begins , The platform is Tencent conference .
Problem.
The interviewer asked me to do two questions , Write a for the first question memcpy, The second question is to write the preorder traversal of binary tree ( The structure of the tree is given by the interviewer , The call has a travseFun A function pointer , Call the callback function )
finish writing sth. memcpy, The interviewer asked me if I thought about it ( I didn't say it here , I felt like I was going to hang up ) The interviewer directly asked the second question ;
Preorder traversal is simple , Recursion and iteration .What's wrong with the recursive traversal of binary trees ?( Answer the memory problem that may cause the call stack to be too deep )
The user-defined stack is used in the iterative traversal of binary tree , Characteristics of stack type , Realization ?( Answer first in and then out , Sequence table implementation , Linear table implementation )
C++ Why do destructors use virtual modification ?( The dynamic creation of subclass objects by base class pointers causes memory leakage problems )
The difference between heap and stack ?( From two aspects of call and memory distribution )
Interprocess communication ?(pipe, fifo, signl, mmap, socket, And specify whether it is full duplex , And advantages and disadvantages )
UDP and TCP The difference between ?( Everyone on earth knows that )
TCP Why is it called Streaming Protocol ? How do you define flow ?( from TCP The connection and disconnection of , Let's talk about socket Knowledge of network programming in creation )
TIME_WAIT Why two MSL Time ?( In general FIN The loss of , And port reuse )
Difference between process and thread ?( combination Linux For its realization point )
What is paging error ?( I have studied the principle of computer composition ... But forget , I don't really remember )
Database paradigm ?( Three paradigms , Each paradigm is introduced in detail )
Database index ?( Combined with the project , Used to primary_key, unique, index etc. )
Trees in C++ Application in , Properties of red-black trees , The time complexity of adding, deleting, checking and modifying red black trees ?(set, map, Definition of red black tree ,Log N)
Is there a data structure that can make the search performance constant ?( Hashtable , And introduced in detail STL Hash table implementation of )
Why not use the red black tree for the database B+ Trees ?( Start with disk , To B+ The advantages of tree data structure )
If there is a joint index by ( Time , full name ), Now just look up the name, will you use the index ?( Left most matching principle )
The difference between virtual memory and physical memory , contact ?( Middle layer , as well as linux The general implementation of virtual memory )
project
There are two items in the resume , However, the interviewer said there was nothing in my resume to read .... Just ask me if I have ever done a project with my teacher . I said I had done a community QR code registration system .
- Do you use encryption methods in your project , If you use encryption, which encryption method would you use ?( Not used , If it can be used, one is simple encryption : For example, letters a+3, And then decrypt a-3; There's another one MD5 Or hash )
- Whether the QR code considers the problem of information conflict ?( No, ... Embarrassment )
summary
These last... About 1 Hours 45 minute I feel that the interviewer has to ask a lot of questions , But because my computer has no electricity, I shut it down ... Then I felt like I was using my cell phone to enter the meeting , The interviewer said that today's interview is over , Didn't ask me any questions , I didn't say to prepare for the follow-up interview , I thought it was so cold .
As a result, I received two notices when I returned to the dormitory , Come on, come on, come on ~
版权声明
本文为[Descosmos]所创,转载请带上原文链接,感谢
https://yzsam.com/2022/111/202204210545298080.html
边栏推荐
- IOT design and development
- Addition, deletion, modification and query of MySQL advanced table
- Ubutnu20 installer centernet
- Chrome 94 introduces the controversial idle detection API, which apple and Mozilla oppose
- Factory mode
- MySQL进阶之表的增删改查
- airbase 初步分析
- Question brushing plan -- backtracking method (I)
- 3-5 obtaining cookies through XSS and the use of XSS background management system
- Opencv reports an error. Expected PTR < CV:: UMAT > for argument '% s'‘
猜你喜欢
ROS学习笔记-----ROS的使用教程
[matlab 2016 use mex command to find editor visual studio 2019]
100天拿下11K,转岗测试的超全学习指南
Chrome 94 introduces the controversial idle detection API, which apple and Mozilla oppose
Matlab matrix index problem
Write table of MySQL Foundation (create table)
flomo软件推荐
Minecraft 1.12.2 module development (43) custom shield
Question brushing plan - depth first search (II)
MySQL基础之写表(创建表)
随机推荐
On IRP from the perspective of source code
ROS学习笔记-----ROS的使用教程
Google 尝试在 Chrome 中使用 Rust
MySQL基础之写表(创建表)
Alibaba cloud responded to the disclosure of user registration information
Question brushing plan - depth first search (II)
Reference of custom message in ROS function pack failed
The more you use the computer, the slower it will be? Recovery method of file accidental deletion
Some grounded words
Matlab matrix index problem
go interface
The iswow64process function determines the number of program bits
Graph traversal - BFS, DFS
Matlab: psychtoolbox installation
Unity Odin ProgressBar add value column
Selenium 显示等待WebDriverWait
软件测试要怎么学?自学还是培训看完这篇文章你就懂了
Vulnhub DC: 1 penetration notes
【SDU Chart Team - Core】SVG属性类设计之枚举
Queue template code