INTERVIEW PREP

数学与非代码面试题

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

题目
4169
领域
8
当前筛选
4169

202 / 209

非代码面试题

显示 20 / 4169 道匹配题目

答题状态:未尝试未正确已正确
5904Kelly Exceeds Full InvestmentA favorable bet has limited downside: staking a fraction f of wealth, you gain the full amount f with probability p=0.7 but lose only half the stake, 0.5f, with probability 0.3. (a) Find the growth-optimal fraction f *. (b) If you cannot borrow (so f\le 1, i.e. you can stake at most all your wealth), what fraction do you actually bet?概率简单数值题未尝试免费5905Kelly with a Cash-Reserve FloorYou may stake on an even-money coin with win probability p=0.8, but a liquidity rule requires you to keep at least half your total wealth in untouched cash at all times, so the staked fraction satisfies f\le 0.5. Set up the constrained maximization of expected log-growth, use the KKT conditions to determine the optimal stake, and state whether the reserve constraint binds.概率困难数值题未尝试面试订阅5906How Many Bets Until Loss Is UnlikelyA Kelly bettor on an even-money coin with p=0.6 stakes the optimal fraction f *=0.2 each round. The per-round log-return is +\ln 1.2 with probability 0.6 and \ln 0.8 with probability 0.4, with mean G\approx0.0201 and variance v\approx0.0395. Using Chebyshev's inequality, find a number of rounds n after which the probability of ending below the starting wealth is at most 5\%.概率困难数值题未尝试面试订阅5907Kelly with a Proportional Trading CostOn an even-money coin with win probability p, each round you pay a proportional cost c on the amount staked, regardless of the outcome. So staking fraction f, a win multiplies wealth by 1+f(1-c) and a loss by 1-f(1+c). Derive the growth-optimal fraction f * in terms of p and c, evaluate it for p=0.6,\ c=0.05, and find the cost level at which the optimal stake drops to zero.概率困难数值题未尝试面试订阅5908Reaching the Target Against a House EdgeYou hold 3 chips and bet one chip per round on an even-money game that you win with probability p=0.4 (and lose with probability 0.6). You keep playing until you either reach 5 chips (cash out) or hit 0 (broke). What is the probability you reach 5 chips before going broke?概率中等数值题未尝试免费5909Bold Play to a Quadrupling GoalYou have \2 and want to reach \8 on an even-money game you win with probability p=0.4. You use bold play: each round you stake the most that keeps you from overshooting the goal, i.e. \min( current wealth ,\ 8- current wealth ). What is the probability bold play reaches the \8 goal?概率中等数值题未尝试免费5910The Martingale Doubling System on RouletteOn a roulette red bet you win (even money) with probability 18/38 and lose with probability 20/38. You run the doubling (martingale) system aiming to win \1: bet \1; if it loses, bet \2; if that loses, bet \4. You stop after a win or after three straight losses (your bankroll of \7 is then gone). Find (a) the probability the campaign ends in ruin and (b) the expected net profit of the campaign.概率中等数值题未尝试面试订阅5911How Long Can You Play Before the Edge Eats YouYou start with \2 and bet \1 per round on an even-money game you win with probability p=0.4. You play until you either reach \5 or go broke. What is the expected number of rounds you play before the game ends?概率困难数值题未尝试面试订阅5912All-In or Split the Stake to Double UpYou have \1 and want to double it to \2 on a subfair even-money bet that wins with probability p=0.45 (and you quit forever once you either reach \2 or hit \0). Compare two plans: (A) bet the whole \1 in one shot; (B) bet \0.50 each round until you reach \2 or go broke. Which gives the higher probability of doubling, and what are the two probabilities?概率困难数值题未尝试面试订阅5913Minimizing Ruin in a Favorable GameYou have 2 chips and play a favorable even-money game you win with probability p=0.6, intending to play forever (no cash-out target) and stake whole chips. To minimize the chance of ever going broke you bet the smallest stake, 1 chip per round. What is the probability you are eventually ruined under this minimum-stake (timid) play?概率中等数值题未尝试免费5914Red-and-Black Bold Play from Three-QuartersIn red-and-black you bet on an even-money outcome that comes up with probability p=0.4, scaling all amounts so the goal is \1. You currently hold \0.75 and use bold play: stake \min( current ,\ 1- current ) each round, trying to reach \1 before reaching \0. What is the probability bold play reaches the goal?概率中等数值题未尝试面试订阅5915Timid Versus Bold to QuadrupleStarting with \1 you want to reach \4 on an even-money game you win with probability p=0.4, quitting when you reach \4 or go broke. Compute the probability of reaching \4 under (A) timid play, betting \1 each round, and (B) bold play, staking \min( current ,\ 4- current ). Which strategy gives the higher chance of reaching the goal?概率困难数值题未尝试面试订阅5916Most You Would Pay for a Perfect TestA product launch pays +30 if the market is receptive and -12 if it is not; receptivity has prior probability 3 10 . You may instead shelve the product for 0. A consultant offers a perfectly accurate test that reveals the true market state before you decide. What is the most you should be willing to pay for this test?概率中等derivation未尝试免费5917Free Peek Before Calling the Bigger BoxTwo boxes each independently contain an amount drawn uniformly from \ 1,2,3,4\ . You must guess which box holds the strictly larger amount; a correct guess pays 1 and a tie or wrong guess pays 0. Before guessing you may take a free peek at the contents of one box (your choice of which). By how much does this peek increase your probability of a correct guess compared with guessing blind?概率简单derivation未尝试免费5918Defective-Batch Inspection With an Imperfect DetectorA batch is defective with prior probability \frac14. Accepting a good batch pays +20; accepting a defective batch pays -40; rejecting pays 0. Before deciding you may run a detector that flags 'defective.' It flags a truly defective batch with probability 9 10 and a good batch with probability \frac15 (false positive). What is the value of running the detector (the increase in expected payoff from using it optimally)?概率困难derivation未尝试面试订阅5919One Free Draw Before Betting on the Majority ColorAn urn is type-R with probability \frac35 (then it is 80\% red balls) or type-B with probability \frac25 (then it is 80\% blue balls). You will bet on the urn's majority color: a correct bet pays 1, a wrong bet pays 0. You may first draw one ball (with replacement) and observe its color for free. By how much does observing this single draw raise your expected payoff over betting with no draw?概率中等derivation未尝试免费5920Clairvoyance Across Three StatesThe state is High, Mid, or Low with probabilities \frac12,\frac13,\frac16. You pick action Long or Flat once. Long pays 12,\ -3,\ -9 in High, Mid, Low respectively; Flat pays 0 in every state. A clairvoyant will tell you the exact state before you choose. What is the difference between your expected payoff acting on the clairvoyant's report and your expected payoff using the single best action chosen in advance?概率中等derivation未尝试免费5921Is the Analyst's Report Worth Its FeeAn investment pays +14 if a deal closes and -10 if it falls through; closing has prior probability \frac12. You may invest or pass (pass pays 0). For a fee of 2 you may buy an analyst report that correctly predicts the outcome with probability 7 10 , after which you decide. Should you buy the report, and what is its value net of the no-report optimum?概率中等derivation未尝试免费5922Three-Candidate Best-ChoiceThree candidates of distinct, unknown qualities arrive in uniformly random order. After each interview you learn only the candidate's rank relative to those seen so far, and you must immediately and irrevocably hire or reject. You want to maximize the probability of hiring the single best candidate. What is the optimal policy and the resulting probability of success?概率简单数值题未尝试免费5923Full-Information Uniform StoppingYou observe up to three independent draws from the Uniform(0,1) distribution, one at a time, and after each you may stop and collect the value just seen or discard it and continue (no recall of discarded values). If you reach the third draw you must take it. Knowing the distribution exactly, what stopping policy maximizes the expected value collected, and what is that expected value?概率简单数值题未尝试免费