由买买提看人间百态

boards

本页内容为未名空间相应帖子的节选和存档,一周内的贴子最多显示50字,超过一周显示500字 访问原贴
Quant版 - [合集] find a missing value(c++)
相关主题
Number 1~1000 with two of them missing.[合集] 美式香草期权的implied volatility怎么求阿?
An interview question(math)[合集] Implied Volatility计算的麻烦
[合集] splitting problem[合集] 面试问题(超难)
[合集] An old cake problem请教MFE Program 申请(+背景)
[合集] one interesting prob.[合集] a random variable question
[合集] 问个问题,欧式期权定价的[合集] 问一个BS MODEL的问题
[合集] 请教怎样估算股票的mu -- 就是mean rate of return?[合集] today humiliated by a trader :(
[合集] contribute an interview problem[合集] 明天电话面试高盛, 第二页加结果
相关话题的讨论汇总
话题: number话题: missing话题: jadeson话题: fri话题: jan
进入Quant版参与讨论
1 (共1页)
b***k
发帖数: 2673
1
☆─────────────────────────────────────☆
ilovelp (nothing) 于 (Fri Jan 4 14:53:58 2008) 提到:
suppose you have a set of unsorted numbers from 1 to N (a big number, say 1
million). One number is missing, how to find that missing number most
efficiently?
Adding the number then subtract N(N+1)/2 may not be possible since the
number could be too big to store.
☆─────────────────────────────────────☆
Jadeson (Jadeson) 于 (Fri Jan 4 15:32:14 2008) 提到:
那就用高精度加法算法就是咯。
☆────────────────────────────
1 (共1页)
进入Quant版参与讨论
相关主题
[合集] 明天电话面试高盛, 第二页加结果[合集] one interesting prob.
[合集] 怎么证明call price关于K的函数是下凸函数?[合集] 问个问题,欧式期权定价的
[合集] interest rate 中的HJM模型[合集] 请教怎样估算股票的mu -- 就是mean rate of return?
[合集] sera是何许人也[合集] contribute an interview problem
Number 1~1000 with two of them missing.[合集] 美式香草期权的implied volatility怎么求阿?
An interview question(math)[合集] Implied Volatility计算的麻烦
[合集] splitting problem[合集] 面试问题(超难)
[合集] An old cake problem请教MFE Program 申请(+背景)
相关话题的讨论汇总
话题: number话题: missing话题: jadeson话题: fri话题: jan