由买买提看人间百态

boards

本页内容为未名空间相应帖子的节选和存档,一周内的贴子最多显示50字,超过一周显示500字 访问原贴
Quant版 - 两道面试题 (UBS)
相关主题
两道面试题(math+algorithm)interview question (brainteaser)
问两道简单的关于期权价格的面试题CTC interview 2nd round phone interview
麻烦哪位给看一下,两道面试题?谢!brainteaser两道老题
求教两道某Hedge Fund面试题[合集] brainteaser两道老题
请教一道面试题[合集] 说两道题(probability & options)
问一个dynamic programming 的问题两道题(brainteaser)
[合集] a probability question问两道probability的题
shortest path algorithm(dijkstra)的变形两道面试题目我也不知道我的答案对不对
相关话题的讨论汇总
话题: queue话题: votes话题: window话题: receives话题: waiting
进入Quant版参与讨论
1 (共1页)
l*********o
发帖数: 88
1
1. There are two types of arrangement of a waiting queue for N ticket window
. The queue could be a single line, the people as the first in the queue go
to the window is available, The queue could also be divided into N sub-queue
in front of each window, the people can't switch queue and has go to
corresponding window.
Assume each person is reasonable and arrive randomly and will pick up the
shortest queue. Which way is better?
2. In an election, candidate A receives n votes, B receives m votes.
Assuming all ordering equally likely. What is the probability that A is
always ahead of B in the count of votes?
y****e
发帖数: 28
2
1. One queue is better
2. reflection principle
The answer for the prob of ahead (including equal votes) is
n>=m
1-C_{n+m}^{m-1}/C_{n+m}^m = (n+1-m)/(n+1)
If excluding the equal votes since the first vote counting started,
The prob is
n/(n+m) * (n-m)/n =(n-m)/(n+m)
e*****u
发帖数: 337
3
can anyone explain the first question, thx
z****g
发帖数: 1978
4
expected waiting time
y****e
发帖数: 28
5
The expectation of the waiting time in one queue strategy is no greater than
that in N queue strategy.
however, the variation of the waiting time in one queue strategy is
definitely less than that in N queue strategy.
You guys can think hard why the two above statements are true.

【在 e*****u 的大作中提到】
: can anyone explain the first question, thx
1 (共1页)
进入Quant版参与讨论
相关主题
两道面试题目我也不知道我的答案对不对请教一道面试题
问两道面试题问一个dynamic programming 的问题
问两道题[合集] a probability question
急急急!!!两道金融难题急需高手帮忙解答!非常感谢!shortest path algorithm(dijkstra)的变形
两道面试题(math+algorithm)interview question (brainteaser)
问两道简单的关于期权价格的面试题CTC interview 2nd round phone interview
麻烦哪位给看一下,两道面试题?谢!brainteaser两道老题
求教两道某Hedge Fund面试题[合集] brainteaser两道老题
相关话题的讨论汇总
话题: queue话题: votes话题: window话题: receives话题: waiting