登录
|
注册
公司
标签
文章
搜索
微软
热门职位
C语言工程师
研发工程师
测试工程师
C#工程师
所有
有回答
没回答
新题目
有最佳答案
排序
热度
·
时间
·
经典指数
1
0
2556
What is the output of the following piece of C++ code? using namespace std; struct Item { char c; Item *next; }; Item *Routine1(Item *x) { Item *prev = NULL, *curr = x; while (curr) { Item *next = curr->next; curr->next = prev; prev = curr; curr = next; } return prev; } void Routine2(Item *x) { Item *curr = x; while (curr) { cout << curr->c << ” “; curr = curr->next; } ...
阅读题目
微软
研发工程师
C语言工程师
单选题
经典指数
1
0
2554
In the main() function, after ModifyString(text) is called, what’s the value of ‘text’? int FindSubString( char* pch ) { int count = 0; char * p1 = pch; while ( *p1 != '\0' ) { if ( *p1 == p1[1] - 1 ) { p1++; count++; }else { break; } } int count2 = count; while ( *p1 != '\0' ) { if ( *p1 == p1[1] + 1 ) { p1++; count2--; }else { ...
阅读题目
C语言工程师
微软
C语言工程师
单选题
经典指数
1
0
2547
Suppose that a Selection Sort of 80 items has completed 32 iterations of the main loop. How many items are now guaranteed to be in their final spot (never to be moved again)? 16 31 32 39 40 ...
阅读题目
微软
研发工程师
查找
单选题
经典指数
1
0
2535
1-1000放在含有1001个元素的数组中,只有唯一的一个元素值重复,其它均只出现一次. 每个数组元素只能访问一次,设计一个算法,将它找出来;不用辅助存储空间, 能否设计一个算法实现? ...
阅读题目
微软
复杂度
数组
问答题
经典指数
1
0
2534
在一张长方形的桌面上放了n个一样大小的圆形硬币。这些硬币中可能有一些不完全在桌面内,也可能有一些彼此重叠;当再多放一个硬币而它的圆心在桌面内时,新放的硬币便必定与原先某些硬币重叠。请证明整个桌面可以用4n个硬币完全覆盖 ...
阅读题目
微软
智力题
问答题
经典指数
1
0
2518
下面代码段的运行结果(环境linux平台, g++编译器): int main() { int x = 10; int y = 10; x = y = ++y; printf("%d %d", x, y); return 0; } 10 10 10 11 11 10 11 11 ...
阅读题目
微软
研发工程师
C语言工程师
单选题
经典指数
1
0
2515
A table CANNOT have one or more of the following index configurations. No indexes A clustered index clustered index and many non-clustered indexes Many clustered index ...
阅读题目
微软
研发工程师
数据库
单选题
经典指数
1
0
2504
一个有序数列,序列中的每一个值都能够被2或者3或者5所整除,这个序列的初始值从1开始,但是1并不在这个数列中。求第1500个值是多少? 2040 2042 2045 2050 ...
阅读题目
微软
数组
单选题
经典指数
1
0
2499
多重继承的内存分配问题,比如有 class A : public class B, public class C {} 那么A的内存结构大致是怎么样的? ...
阅读题目
微软
C语言工程师
问答题
经典指数
1
0
2494
在排序数组中,找出给定数字的出现次数。比如 [1, 2, 2, 2, 3] 中2的出现次数是3次。 ...
阅读题目
微软
数组
排序
问答题
经典指数
<<
<
5
6
7
8
9
10
>
>>
254
题目数
1
贡献者
257
答案数
扫描后移动端查看
我也分享一个题目
相关标签
智力题
C语言工程师
研发工程师
复杂度
数组
字符串
基础知识
树
排序
链表
同类标签
腾讯
阿里巴巴
百度
网易
小米
华为
迅雷
奇虎360
搜狐
京东
微信公众号
欢迎加入,一起群聊
×
登录
注册
找回密码
记住登录
登录
快速注册
直接第三方登录