腾子面试题
1.
#include <stdio.h>
struct mystruct {
char c;
int a;
short b;
};
int main() {
printf("mystruct的大小为:%zu 字节\n", sizeof(struct mystruct));
return 0;
}
2.判断本机是大端存储还是小端存储
3.二叉树的路径和
4.最长公共子串
5.忘了啥题
挑一个项目,一个八股没问 #腾讯#
面了华子,云智,猿辅导,阿里,八股基本不问
#include <stdio.h>
struct mystruct {
char c;
int a;
short b;
};
int main() {
printf("mystruct的大小为:%zu 字节\n", sizeof(struct mystruct));
return 0;
}
2.判断本机是大端存储还是小端存储
3.二叉树的路径和
4.最长公共子串
5.忘了啥题
挑一个项目,一个八股没问 #腾讯#
面了华子,云智,猿辅导,阿里,八股基本不问
全部评论
第一题答案多少了?
相关推荐
07-09 15:14
南京大学 C++ 点赞 评论 收藏
分享