当前位置:网站首页>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
边栏推荐
- Graph traversal - BFS, DFS
- flomo软件推荐
- go slice
- unity 功能扩展
- Common commands of MySQL in Linux
- 2021-09-02 unity project uses rider to build hot change project failure record of ilruntime
- [SQL] string series 2: split a string into multiple lines according to specific characters
- Valueerror: invalid literal for int() with base 10 conversion error related to data type
- 【SDU Chart Team - Core】SVG属性类设计之枚举
- [SDU chart team - core] enumeration of SVG attribute class design
猜你喜欢
Unity animation creates sequence frame code and generates animationclip
3-5通过XSS获取cookie以及XSS后台管理系统的使用
Lunch on the 23rd day at home
Addition, deletion, modification and query of MySQL advanced table
Question brushing plan - depth first search (II)
Linux中,MySQL的常用命令
MySQL进阶之表的增删改查
浅谈数据库设计之三大范式
一些接地气的话儿
CUDA, NVIDIA driver, cudnn download address and version correspondence
随机推荐
Opencv reports an error. Expected PTR < CV:: UMAT > for argument '% s'‘
Solve importerror: cannot import name 'imread' from 'SciPy misc‘
Go限制深度遍历目录下文件
Express ③ (use express to write interface and cross domain related issues)
Problem brushing plan -- dynamic programming (III)
go array
Chrome 94 introduces the controversial idle detection API, which apple and Mozilla oppose
Prim、Kruskal
Win 11K in 100 days, super complete learning guide for job transfer test
2021-06-29 C escape character cancellation and use
UKFslam
Amazon and epic will be settled, and the Microsoft application mall will be opened to third parties
go struct
Cmake project under vs2019: calculating binocular parallax using elas method
Crisis is opportunity. Why will the efficiency of telecommuting improve?
Chrome 94 引入具有争议的 Idle Detection API,苹果和Mozilla反对
Minecraft 1.12.2 module development (43) custom shield
使用mbean 自动执行heap dump
Create vs project with MATLAB