由买买提看人间百态

boards

本页内容为未名空间相应帖子的节选和存档,一周内的贴子最多显示50字,超过一周显示500字 访问原贴
Quant版 - an interview question(finance)
相关主题
SQL fast search in a 10 million records table (转载)求FinancialDataAnalyst:Moody's KMV面经
median number的问题Question what is the value of the option on a stock whose price not change
keep group of values of SQL procedure in one table (转载)[合集] 关于nondividend理想情况的AmCall和EuCall Value的问题
A INTERVIEW PROBLEM[合集] 关于利率衍生品的几个问题
两道算法题 (转载)关于forward swap的一个问题?
一个问题请教金改的spin off swap trading是什么意思?
问题请教 - interest swap 的 duration请问到底什么是 basis curve
swap/swaption问一下algorithm的书
相关话题的讨论汇总
话题: min话题: max话题: price话题: prices话题: finance
进入Quant版参与讨论
1 (共1页)
h*****u
发帖数: 979
1
How to pick the highest and lowest point from a stock's one day performance(
e.g. the price)?
because it is a time series data pool, you can't do the sorting process, so
how you get the highest price and the lowest price?
p*****w
发帖数: 82
2
Do the bubble w/o swapping?
Complexity = T(n)
p*******i
发帖数: 309
3
晕 大虾能再深入解释一下好么???
我怎么觉得应该上网查阿。 哈哈, 开玩笑!
h*****u
发帖数: 979
4
yea, coud 2nd floor give us a more specific solution?
h***n
发帖数: 4
5
javascript:
var prices;
var min=999;
var max=-999;
for(var x in prices) {
if(prices[x] min=prices[x];
if(prices[x]>max)
max=prices[x];
}
debug(min, max);
i*****r
发帖数: 1302
6
这问题...不就yahoo看一下high&low么???
p*****w
发帖数: 82
7
Step 1. You assume a Max value and Min value.
Step 2. Everytime, after you take in a new stock price, you compare that
value with the current Max and Min values, and update with new Max and Min
values.
Step 3. At the end of the day, your Max and Min values will be the values
you need.
Very similar with the Bubble Algorithm but without swapping.
Haven took the same approach.
1 (共1页)
进入Quant版参与讨论
相关主题
问一下algorithm的书两道算法题 (转载)
刚刚电话interview完,提供题目一个问题
[合集] 到底什么是bootstrap? (转载)问题请教 - interest swap 的 duration
求解the lowest bid auctionswap/swaption
SQL fast search in a 10 million records table (转载)求FinancialDataAnalyst:Moody's KMV面经
median number的问题Question what is the value of the option on a stock whose price not change
keep group of values of SQL procedure in one table (转载)[合集] 关于nondividend理想情况的AmCall和EuCall Value的问题
A INTERVIEW PROBLEM[合集] 关于利率衍生品的几个问题
相关话题的讨论汇总
话题: min话题: max话题: price话题: prices话题: finance