算法转开发被拷打麻了

八股一点没问,全程深挖c++
没答出来的:
链接过程具体发生了什么,elf文件
static_cast, dynamic_cast
答出来的:
c语言生成可执行文件的四个过程
虚析构函数
常见排序算法
快排
上来问的就不会,后面感觉面试官在绞尽脑汁思考我会点啥😭还是自己准备得不够充分,太菜了😭
面试官:我建议你投一些算法相关的公司,这样才能发挥你的长处

全部评论
有个东西叫c++八股
1 回复
分享
发布于 2023-09-12 14:52 湖北

相关推荐

二分法,判断旋转数组的头和尾:check start end:/** * 代码中的类名、方法名、参数名已经指定,请勿修改,直接返回方法规定的值即可 * *  * @param nums int整型一维数组  * @param numsLen int nums数组长度 * @return int整型 */int minNumberInRotateArray(int *nums,int numsLen){    int start=0,end=numsLen-1.mid; while(end-start>1)        mid=(end+start+1)/2;        if(nums[mid]                end=mid; else if(nums[mid]>nums[end])                start=mid;//put  the biggest in start,the smallest in end        else{ if(nums[start]>=nums[end])//check start and end                        start++;                else                        end--;                                        }return nums[start]>nums[end]?nums[end]:nums[start];}
点赞 评论 收藏
转发
2 5 评论
分享
牛客网
牛客企业服务