登录
|
注册
公司
标签
文章
搜索
微软
研发工程师
所有
有回答
没回答
新题目
有最佳答案
排序
热度
·
时间
·
经典指数
1
0
4196
Asume you have an object to describe customer data:{ ID(7 digit numeric) Family Name(string) Account Balance(currency) } If you have 500,000 Chinese customers records represented by instances of this object type , what set of data structures is best to get fast retrieval of customers (1) get IDs from Name and (2) get Name from ID? (1) Tree with Hash(100 bucket) at leaves(2) Tree with linked list at leaves. (1) Tree with linked list at leaves(2) Array. (1) Tree with linked list a ...
阅读题目
微软
研发工程师
树
哈希
数组
链表
单选题
经典指数
1
0
2280
To speed up data access , we build cache system. In one system , The L1 cache access time is 5 ns , the L2 cache access time is 50 ns and the memory access time is 400 ns. The L1 cache miss rate is 50% , the L2 cache miss rate is 10%. The average data access time of this system is: 5 30 45 50 55 ...
阅读题目
微软
研发工程师
编译和体系结构
单选题
经典指数
1
0
3026
下面程序的执行结果: class A{ public: long a; }; class B : public A { public: long b; }; void seta(A* data, int idx) { data[idx].a = 2; } int main(int argc, char *argv[]) { B data[4]; for(int i=0; i<4; ++i){ data[i].a = 1; data[i].b = 1; seta(data, i); } for(int i=0; i<4; ++i){ std::cout << data[i].a << data[i].b; } return 0; } 11111111 12121212 11112222 21212121 22221111 ...
阅读题目
微软
研发工程师
C语言工程师
单选题
经典指数
1
0
3748
Web 应用程序中常使用 MVC 模式,关于说法下面哪些是对的 型 ( Model )表示数据以及处理数据的业务逻辑 视图 ( View ) 是对模型的(可视化)展示,它渲染模型的结果,典型的是一个用户接口元素(user interface element) 控制器介于用户和系统之间,它接受用户的输入,指挥着模型和视图来完成输入对应的任务 MVC 的常用实践是,模型从用户接收 GET 和 POST 的请求,然后决定做神马,通过移交给控制器和视图 上面都不对 ...
阅读题目
微软
研发工程师
软件工程
多选题
经典指数
1
0
2834
下面哪些是稳定排序 冒泡排序 快速排序 堆排序 归并排序 选择排序 ...
阅读题目
微软
研发工程师
排序
多选题
经典指数
1
0
2557
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
2032
The best time complexity of quick sort algorithm is: O(lgn) O(n) O(nlgn) O(n*n) ...
阅读题目
微软
研发工程师
排序
单选题
经典指数
1
0
2518
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
2551
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
5324
有6种不同颜色的球,分别记为1,2,3,4,5,6,每种球有无数个。现在取5个球,求在以下的条件下: 1、5种不同颜色, 2、4种不同颜色的球, 3、3种不同颜色的球, 4、2种不同颜色的球, 它们的概率。 ...
阅读题目
网易
微软
2013
研发工程师
概率统计
问答题
经典指数
1
2
3
4
5
47
题目数
1
贡献者
39
答案数
扫描后移动端查看
我也分享一个题目
"微软"公司热门职位
C语言工程师
测试工程师
C#工程师
"研发工程师"
职位热门公司
腾讯
百度
搜狐
阿里巴巴
美团
迅雷
奇虎360
京东
人人网
携程
×
登录
注册
找回密码
记住登录
登录
快速注册
直接第三方登录