由买买提看人间百态

topics

全部话题 - 话题: choice1
(共0页)
x*****p
发帖数: 1707
1
来自主题: JobHunting版 - 上一算法面试题
Using recursive.
Suppose an array A of integers is given to hold all golden pieces. Its index
is from 0 to N-1.
Let function f(int startIndex, int endIndex) returns the maximum money you
can get.
int f(A, int startIndex, int endIndex) {
int sum = summation from A[startIndex] to A[endIndex];
if (startIndex==endIndex) return A[startIndex];
int choice1 = sum - f(A, startIndex+1, endIndex);
int choice2 = sum - f(A, startIndex, endIndex-1);
return (choice1>choice2?choice1:choice2)... 阅读全帖
M**********e
发帖数: 4237
2
上右三 CHOICE3, 下左一choice2,下左二choice1
买到高过级别标识的牛肉是bonus
z*******g
发帖数: 416
3
来自主题: Piebridge版 - medstudent deserve choice1
because you were blinded by:
1. "qinghua" sticker on his dick
2. meth-background
3. work in a finance firm in chicago.
lesson:
1.if something is too good to be true, it usually is.
2. select a dick by its quality not the sticker it bears
3. prepare to be cheated, or at least disappointed when meeting with a
stranger.
r**********9
发帖数: 19633
4
来自主题: Piebridge版 - medstudent deserve choice1
medstudent发了这么多帖子可见多么不淡定了
我就是好奇---那个男的说她离异装未婚--这条到底是不是真的呀
如果是真的他两是夜壶对尿盆
p***d
发帖数: 2171
5
来自主题: Piebridge版 - medstudent deserve choice1
她的确是离异. 最早发的几个征贴上有这条, 后来可能因为形势所迫, 不提了.
z*******g
发帖数: 416
6
来自主题: Piebridge版 - medstudent deserve choice1
rongrong i agree with you this time.
let me put this way: if you are a virgin, she is never married.
r**********9
发帖数: 19633
7
来自主题: Piebridge版 - medstudent deserve choice1

靠,你扯淡吧
z*******g
发帖数: 416
8
来自主题: Piebridge版 - medstudent deserve choice1
How about: if you are not a virgin, she is never married.
Y**********n
发帖数: 3853
9
来自主题: Piebridge版 - medstudent deserve choice1
哈哈哈, 结果最后你们谁也没找到个清华的,
就俺找到了。 哈哈哈
z*******g
发帖数: 416
10
来自主题: Piebridge版 - medstudent deserve choice1
SO?
s******p
发帖数: 727
11
来自主题: Piebridge版 - medstudent deserve choice1
为啥非要找清华的不可? 用来装点门面?
Y**********n
发帖数: 3853
12
来自主题: Piebridge版 - medstudent deserve choice1
哈哈哈, 完成自己未能上清华的梦想。
e*********w
发帖数: 367
13
我也支持在UMD或IKEA先集合一次,开尽量少的车去OC。定一个比较合适的出发时间,
如果第一次集合不到的人就到OC找大家。另外就在海边玩玩就可以了,不用去那里
SHOPPING吧,我选CHOICE1(both option 1 and 2)。
(共0页)