登录
|
注册
公司
标签
文章
搜索
微软
热门职位
C语言工程师
研发工程师
测试工程师
C#工程师
所有
有回答
没回答
新题目
有最佳答案
排序
热度
·
时间
·
经典指数
1
0
3026
How many times is f() called when calculating f(10)? int f(int x) { if(x <= 2) return 1; return f(x - 2) + f(x - 4) + 1; } 14 18 20 24 None of the above ...
阅读题目
微软
研发工程师
递归
C语言工程师
单选题
经典指数
1
0
2729
将“引用”作为函数参数有哪些特点? 引用传递和指针传递没有差别 传递引用给函数与传递指针的效果是一样的 使用引用传递函数的参数,在内存中并没有产生实参的副本,它是直接对实参操作;而使用一般变量传递函数的参数,当发生函数调用时,需要给形参分配存储单元,形参变量是实参变量的副本; 指针传递下,在主调函数的调用点处,必须用变量的地址作为实参。而引用更容易使用,更清晰。 ...
阅读题目
微软
C语言工程师
多选题
经典指数
1
0
1594
说有一份遗产3500元,一个女人的老公留下来的,如果这个女人生的是儿子那么她将分到她儿子的一半,如果是女儿,她将分得她女儿的2倍。如果这个女人生了一对,一男一女,问各得多少遗产? ...
阅读题目
微软
智力题
问答题
经典指数
1
0
3127
T(n)=1(n<=1),T(n)=25T(n/5)+n^2,T(n)复杂度是多少? O(nlogn) O(n^2logn) O(n^2) O(n^3) O(n^3logn) ...
阅读题目
微软
复杂度
单选题
经典指数
0
0
2232
有2n个人排队进电影院,票价是50美分。在这2n个人当中,其中n个人只有50美分,另外n个人有1美元(纸票子)。愚蠢的电影院开始卖票时1分钱也没有。 问: 有多少种排队方法 使得 每当一个拥有1美元买票时,电影院都有50美分找钱 注: 1美元=100美分 拥有1美元的人,拥有的是纸币,没法破成2个50美分 ...
阅读题目
微软
组合数学
问答题
经典指数
1
0
2139
Which statement(s) is(are) correct about thread and process?Select all that apply. Threads share the same address space of the parent process;Processes share the same address space of the parent process. Changes to the main thread(cancellation,priority change,etc.) may affect the behavior of the other threads of the process; Changes to the parent process does not affect child processes. Multiple threads mar cause deadlock,while multiple processes won't cause deadlock. Threads can directly commu ...
阅读题目
微软
研发工程师
操作系统
多选题
经典指数
1
0
2357
写出下列程序所有可能的运行结果。 int a; int b; int c; void F1() { b = a * 2; a = b; } void F2() { c = a + 1; a = c; } main() { a = 5; //Start F1,F2 in parallel F1(); F2(); printf("a=%d\n", a); } 11 6 12 以上都不正确 ...
阅读题目
微软
C语言工程师
多选题
经典指数
1
0
2834
下面哪些是稳定排序 冒泡排序 快速排序 堆排序 归并排序 选择排序 ...
阅读题目
微软
研发工程师
排序
多选题
经典指数
0
0
2963
Please choose the right statement about constusage: const int a; //const integer int const a; //const integer int const *a; //a pointer which point to const integer const int *a; //a const pointer which point to integer int const *a; // a const pointer which point to integer ...
阅读题目
微软
2015
腾讯
C语言工程师
多选题
经典指数
1
0
2268
编写实现链表排序的一种算法。说明为什么你会选择用这样的方法? ...
阅读题目
微软
链表
排序
问答题
经典指数
<<
<
5
6
7
8
9
10
>
>>
332
题目数
1
贡献者
257
答案数
扫描后移动端查看
我也分享一个题目
相关标签
智力题
C语言工程师
研发工程师
复杂度
数组
字符串
基础知识
树
排序
链表
同类标签
腾讯
阿里巴巴
百度
网易
小米
华为
迅雷
奇虎360
搜狐
京东
微信公众号
欢迎加入,一起群聊
×
登录
注册
找回密码
记住登录
登录
快速注册
直接第三方登录