视频面 一面
- TCP, UDP 介绍,使用场景
- 静态链接库,动态链接库
- hash,链表,二叉树时间复杂度分析,极端情况分析
- 链表查找倒数第 N 个节点
- C++ 多态实现
- HTTP/1.1 前后的区别,GET/POST 区别
- 进程和线程区别
- 设计模式
- 数据库事务隔离级别
- 聚集索引、非聚集索引
- 索引最左原则
- 重载和重写
- 多态的体现方式
- C 是否支持重载
- 死锁的四个必要条件
- EPOLL/SELECT/POLL 区别
- 数据库底层数据结构实现,B 树和 B+树
- sleep 和 wait 的区别
- 四次挥手?为什么有 time_wait 状态
- 客户端和服务端用了哪些 socket 函数
- 比较 STL 常用容器
- 常用排序,比较复杂度
- 内联函数和宏的区别
- 虚函数怎么使用,构造函数和析构函数是否可以是虚函数
- 成员函数和友元函数,友元函数是否能访问类的方法
- HTTP 状态码
- 浏览器输入 URL 发生什么
- 野指针
- 知道哪些数据结构
本人面经
- 数据库会不会 不会
- 项目代码量有多少
- c++ const 关键字
- 代码,翻转字符串(按单词翻转,空格隔开)
- 做错了,说说思路
- 哈希表用过没?有什么碰撞处理方法?
- 堆排序,大顶堆如何插入新的元素
- 平时如何学习编程相关知识?遇到 bug 如何排查?