由买买提看人间百态

boards

本页内容为未名空间相应帖子的节选和存档,一周内的贴子最多显示50字,超过一周显示500字 访问原贴
JobHunting版 - MS Campus Interview Question (SDE position)
相关主题
Amazon On-site ,kindle组有什么要特别注意的地方么?+前两轮电面面经Amazon on-campus interview:为何整个过程这么短?
问个google面试题(2)[新人]M家on campus interview面经
Microsoft 校园面试面经 + Onsite 求 BlessM家 SDET
Amazon电面两题M家SDET
snapchat 面经+offer想成为嵌入式程序员应知道的0x10个基本问题 zz
三个月内我和微软的6次亲密接触[合集] 想成为嵌入式程序员应知道的0x10个基本问题 zz
MS电面……杯具google 首轮面世汇报
请教,微软的on campus面试如何准备?Google电话面试题目
相关话题的讨论汇总
话题: describe话题: interview话题: question话题: sde话题: ms
进入JobHunting版参与讨论
1 (共1页)
z*******e
发帖数: 122
1
1. You are in a brainstorm meeting, propose some suggestions to Bing so that
it can beat Google's search engine
2. Describe the difference between Java and C to a 4 year old boy
3. describe the algorithm of tower of hanoi
4. How two test a laser pen
5. Outside the area of web search, describe two scenarios that you will use
techniques from artifical intelligence
6. You have an array of 1 million integers, there is at most one 5 in the
array. write code to find the index of 5, or return -1 if the
k***e
发帖数: 556
2
第六题你是说将在最后一个entry后面添加5 从而减少一个if的判断?
很难啊 Knuth的书上写了这个技巧 但是提供效率也只是50%还是多少

that
use
The

【在 z*******e 的大作中提到】
: 1. You are in a brainstorm meeting, propose some suggestions to Bing so that
: it can beat Google's search engine
: 2. Describe the difference between Java and C to a 4 year old boy
: 3. describe the algorithm of tower of hanoi
: 4. How two test a laser pen
: 5. Outside the area of web search, describe two scenarios that you will use
: techniques from artifical intelligence
: 6. You have an array of 1 million integers, there is at most one 5 in the
: array. write code to find the index of 5, or return -1 if the

z*******e
发帖数: 122
3
对,就是这个技巧,如果不用,用一般的for循环,每个iteration要做3个比较操作,
比较是否到了数组尾部,index++,比较是不是等于5, 用了sentinel之后,就只需要
做2个操作,就是这一点优化。。。。
k***e
发帖数: 556
4
感觉有点吹毛求疵啊
因为这个必须写成汇编才能看出来 如果按照一般的分析方法 复杂度就是线性
不过你还挺牛的 应该是科班出身 哈哈

【在 z*******e 的大作中提到】
: 对,就是这个技巧,如果不用,用一般的for循环,每个iteration要做3个比较操作,
: 比较是否到了数组尾部,index++,比较是不是等于5, 用了sentinel之后,就只需要
: 做2个操作,就是这一点优化。。。。

x******3
发帖数: 245
5
狂zan

【在 z*******e 的大作中提到】
: 对,就是这个技巧,如果不用,用一般的for循环,每个iteration要做3个比较操作,
: 比较是否到了数组尾部,index++,比较是不是等于5, 用了sentinel之后,就只需要
: 做2个操作,就是这一点优化。。。。

1 (共1页)
进入JobHunting版参与讨论
相关主题
Google电话面试题目snapchat 面经+offer
[合集] Google电话面试题目三个月内我和微软的6次亲密接触
职业杯另外一道MS电面……杯具
问一道题请教,微软的on campus面试如何准备?
Amazon On-site ,kindle组有什么要特别注意的地方么?+前两轮电面面经Amazon on-campus interview:为何整个过程这么短?
问个google面试题(2)[新人]M家on campus interview面经
Microsoft 校园面试面经 + Onsite 求 BlessM家 SDET
Amazon电面两题M家SDET
相关话题的讨论汇总
话题: describe话题: interview话题: question话题: sde话题: ms