INTERVIEW PREP

数学与非代码面试题

覆盖数学、概率、统计、脑筋急转弯、机器学习和金融。这里负责筛选和进入单题;编程题使用独立的 LeetCode 式 coding lab。

题目
4169
领域
8
当前筛选
58

3 / 3

非代码面试题

显示 18 / 58 道匹配题目

答题状态:未尝试未正确已正确
5971Expected Duration of Biased Gambler's RuinA walk starts at 2, moves +1 with probability 2/3 and -1 with probability 1/3, and stops on hitting 0 or 5. First find the probability it exits at 5, then use the linear-drift martingale to find the expected duration E[T].概率困难数值题未尝试面试订阅5972Hitting the Opposite Node on a CycleA token does a symmetric random walk on the 6 vertices of a cycle (labelled 0..5, each step moving to one of the two adjacent vertices with probability 1/2 each). Starting at vertex 0, find the expected number of steps to first reach vertex 3, the diametrically opposite vertex.概率简单数值题未尝试免费5973Ruin Duration With Holding TiesA score starts at 3 and each round goes +1 with probability 0.3, -1 with probability 0.3, and stays the same (a tie) with probability 0.4. The game ends when the score first reaches 0 or 8. Find the expected number of rounds until the game ends.概率中等数值题未尝试免费5974Azuma Bound on a Bounded MartingaleLet M 0=0, M 1, M 2, ... be a martingale whose increments satisfy |M k - M k-1 | <= 1 for all k. Using the Azuma-Hoeffding inequality, give the best upper bound it provides on P(M 100 >= 20).概率困难数值题未尝试面试订阅5975Expected Sample Size of a Sequential Boundary TestIndependent draws X 1, X 2, ... each equal +1 with probability 0.6 and -1 with probability 0.4, accumulated into S n. Sampling stops when S n first reaches +5 or -5. The exit probabilities are P(exit +5)=0.883636 and P(exit -5)=0.116364. Using the linear-drift (Wald-Wolfowitz) martingale, find the expected number of draws E[N].概率中等数值题未尝试免费5976Expected Maximum Before RuinA fair simple random walk starts at 2 and is absorbed when it first hits 0 or 5. Let H be the highest level the walk reaches over its whole path (the running maximum at absorption). Find E[H].概率困难数值题未尝试面试订阅5977Optional Stopping on a Product MartingaleLet X 1, X 2, ... be i.i.d. fair +-1 steps and define the product P n = prod i=1 n (1 + (1/2) X i), with P 0 = 1. Let N be any almost-surely finite stopping time. Treating P n as a martingale, what is E[P N]?概率中等数值题未尝试免费5978First Passage Probability for a Lazy Biased WalkA lazy walk starts at 1. Each step it moves +1 with probability 0.3, -1 with probability 0.2, and stays put with probability 0.5. It stops on first reaching +4 or -4. Find the probability it exits at +4.概率中等数值题未尝试免费5979Three-Level Exit With a Non-Absorbing BarrierA fair simple random walk starts at 0. Three levels are marked: -3, +2, and +6. Only the two extreme levels, -3 and +6, are absorbing; the walk passes freely through +2. Find the probability the walk is absorbed at -3, and the expected absorption value E[S T].概率困难数值题未尝试面试订阅5980Random Walk With Rest PeriodsA process evolves in rounds. Each round, independently, with probability 1/2 the walker rests (position unchanged) and with probability 1/2 it takes a step that is +1 or -1 with equal odds. The walker stops at the first round in which it completes its 8th actual (non-rest) step. Let S be the position at that stopping time. Find E[S 2].概率中等数值题未尝试免费5981Total Stake Until the First SixYou roll a fair die repeatedly until the first time a 6 appears; let N be the number of rolls (including the winning roll). On each roll you independently collect a payoff X i with E[X i]=1.5, where the X i are i.i.d. and independent of the roll values. Compute E\! [\sum i=1 N X i ].概率简单derivation未尝试免费5982Variance of Fills Over a Binomial Number of QuotesOut of n=10 resting quotes, each fills independently with probability 0.3, so the number of fills N is Binomial(10,0.3). Each fill produces an i.i.d. PnL X i with E[X i]=2 and Var (X i)=9, independent of which quotes fill. For the stopped sum S N=\sum i=1 N X i, compute Var (S N).概率中等derivation未尝试免费5983Number of Trades to Cross a Profit TargetA strategy books i.i.d. positive profits X 1,X 2,\dots with E[X i]=2.5. Let N be the first time the running total S n=\sum i=1 n X i strictly exceeds 10; that is, N=\min\ n:S n>10\ . Assuming E[N]< , the expected overshoot is known to satisfy E[S N]=14. Use a Wald-style identity to compute E[N].概率中等derivation未尝试免费5984Expected Inspection Cost Until the First DefectA quality line inspects items one at a time; each item is defective independently with probability 0.05. Inspection stops at the first defective item. Each inspection (defective or not) costs an i.i.d. amount C i with E[C i]=\8, independent of the defect outcomes. Let N be the number of items inspected. Find the expected total inspection cost E\! [\sum i=1 N C i ].概率简单数值题未尝试免费5985Expected Total Slippage With Negative DriftA market-making desk incurs i.i.d. per-trade adverse-selection costs X 1,X 2,\dots with E[X i]=-0.4 (a net loss per trade). The number of trades in a session, N, is independent of the costs and is Poisson with mean 15. Compute the expected cumulative cost E\! [\sum i=1 N X i ].概率简单derivation未尝试免费5986Expected Winnings Over a Random Number of BetsA gambler places bets until a random stopping rule halts play; the number of bets N is a stopping time for the i.i.d. bet outcomes with E[N]=8. Each bet has an i.i.d. net result X i with E[X i]=-0.05 (a 5\% house edge per unit staked, with unit stakes), and the decision to stop after bet n depends only on outcomes up to bet n. Compute the gambler's expected total winnings E\! [\sum i=1 N X i ], and state whether any stopping rule with E[N]=8 can make this positive.概率中等derivation未尝试免费5987When the Stopping Rule Looks at the Last DrawDraw i.i.d. values X 1,X 2,\dots uniform on \ 1,2,3\ (so E[X i]=2). Define N as follows: keep drawing and stop the first time you draw a 3; let N be the number of draws. Let S N=\sum i=1 N X i. A candidate computes E[N]E[X 1]=3 2=6 and claims E[S N]=6. Compute the correct value of E[S N] and explain in one sentence why E[N]E[X 1] is the wrong formula here.概率困难essay未尝试面试订阅5988Expected Sample Size of a Sequential Drift TestA sequential test accumulates i.i.d. log-likelihood increments X 1,X 2,\dots with E[X i]=0.25. The test stops at N=\min\ n: |S n|\ge 3\ where S n=\sum i=1 n X i, and it is given that E[N]< and that the expected stopped statistic is E[S N]=2.0 (reflecting that the upper boundary is hit far more often under this positive drift). Each observation costs \6 to collect. Using a Wald-style identity, find the expected total data-collection cost.概率中等数值题未尝试免费