boards

本页内容为未名空间相应帖子的节选和存档,一周内的贴子最多显示50字,超过一周显示500字 访问原贴
JobHunting版 - MS sdet面经 + bloomberg电面面经
相关主题
Amazon电面面经
报点面经L & Square, 以及Netflix的recruiter经
也来攒下人品,L面经
bloomberg面经
分享面经 mathworks
C++ Q89: function template and overloading
C++: 如何对const data member做assignment?
请问关于overloading << (转载)
发几个小公司的题目
朋友A家电面,2轮已跪。
相关话题的讨论汇总
话题: given话题: ms话题: node话题: test
进入JobHunting版参与讨论
1 (共1页)
w****m
发帖数: 146
1
Q from MS:
1. Given an API and specification, how to test it; then the implementation
is given, find the problems in code
2. Insert a value to sorted double linked list
3. Give a node in binary tree,parent pointer is in the node, print out all
nodes in level n
4. Given a sentence, print the words and occurrence
Test cases will be required after coding
Q from BB:
1 basic C++ concepts: virtual function, overload, explicit, and so on
Given a random function, which takes one integer, output a intege
S*******n
发帖数: 1867
2
wish

to

【在 w****m 的大作中提到】
: Q from MS:
: 1. Given an API and specification, how to test it; then the implementation
: is given, find the problems in code
: 2. Insert a value to sorted double linked list
: 3. Give a node in binary tree,parent pointer is in the node, print out all
: nodes in level n
: 4. Given a sentence, print the words and occurrence
: Test cases will be required after coding
: Q from BB:
: 1 basic C++ concepts: virtual function, overload, explicit, and so on

f*********t
发帖数: 271
3
这个能具体解释一下么?谢谢~~~

Given a random function, which takes one integer, output a integer from 0 to
n-1 with equal contribution, how to implement a shuffle functionality, simi
liar to the one in media player

【在 w****m 的大作中提到】
: Q from MS:
: 1. Given an API and specification, how to test it; then the implementation
: is given, find the problems in code
: 2. Insert a value to sorted double linked list
: 3. Give a node in binary tree,parent pointer is in the node, print out all
: nodes in level n
: 4. Given a sentence, print the words and occurrence
: Test cases will be required after coding
: Q from BB:
: 1 basic C++ concepts: virtual function, overload, explicit, and so on

w****m
发帖数: 146
4
给一个随机函数,input是positive整数,输出是0 - n-1的随机数,怎么设计一个算法和数
据结构,去实现shuffle的功能,nonrepetive并且要保存之前的输出
不知道这么说有没有清楚一点...

to
simi

【在 f*********t 的大作中提到】
: 这个能具体解释一下么?谢谢~~~
:
: Given a random function, which takes one integer, output a integer from 0 to
: n-1 with equal contribution, how to implement a shuffle functionality, simi
: liar to the one in media player

w*****1
发帖数: 245
5
能细说下3吗?给的node和n有什么关系?就是给root吗?
谢谢
t****o
发帖数: 31
6
应该是指任意node吧

【在 w*****1 的大作中提到】
: 能细说下3吗?给的node和n有什么关系?就是给root吗?
: 谢谢

r********g
发帖数: 144
7

和数
generate an array of random variables of size n; denote it as arrayRandom[].
therefore there is a one-to-one correspondence between the original data
array and this arrayRandom[]. Sort the two arrays together using the values
in arrayRandom[] as the values for comparison.

【在 w****m 的大作中提到】
: 给一个随机函数,input是positive整数,输出是0 - n-1的随机数,怎么设计一个算法和数
: 据结构,去实现shuffle的功能,nonrepetive并且要保存之前的输出
: 不知道这么说有没有清楚一点...
:
: to
: simi

c******f
发帖数: 2144
8
thanks
1 (共1页)
进入JobHunting版参与讨论
相关主题
朋友A家电面,2轮已跪。
Zenefits面经(已挂)
GOOGLE 电面面经
面试题分享及感想
Amazon首轮电面SDET
ms onsite面经
amazon的面经
小公司面经
microsoft phone interview round 1
google 面试题
相关话题的讨论汇总
话题: given话题: ms话题: node话题: test