第 3 / 79 页
非代码面试题
显示 20 / 1576 道匹配题目
答题状态:未尝试未正确已正确
ID题目领域难度题型进度权限
190Expected Number of Odd-Load BinsEight labeled balls are independently assigned to five labeled bins. What is the expected number of bins that end up with an odd load?概率困难数值题未尝试免费194Variance of the Number of Occupied UrnsFour distinguishable balls are thrown independently and uniformly at random into 3 distinguishable urns. Let N be the number of nonempty urns. Find Var (N). Give an exact fraction.概率困难数值题未尝试免费195Expected Time to First Collision in Six UrnsBalls are thrown one at a time, each landing independently and uniformly at random into one of 6 urns. Let T be the index of the first ball that lands in an already-occupied urn (so T \ge 2). Derive E[T] and give an exact fraction.概率困难derivation未尝试免费199Expected Maximum Urn OccupancyFour distinguishable balls are thrown independently and uniformly at random into 3 distinguishable urns. Let M = \max(X 1, X 2, X 3) be the maximum number of balls in any single urn. Find E[M]. Give an exact fraction.概率中等数值题未尝试免费200Full Distribution of Empty Urns via Stirling NumbersSix distinguishable balls are thrown independently and uniformly at random into 5 distinguishable urns. Let E denote the number of empty urns. Derive the probability mass function P(E = k) for every possible value of k, expressing each probability as an exact fraction.概率困难derivation未尝试免费205Hypergeometric Mean and Variance via Indicator VariablesAn urn contains 20 balls: 8 red and 12 blue. You draw 5 balls without replacement. Let X be the number of red balls drawn. Define indicator variables X i = 1 \ ball i is red \ for each draw i = 1, \ldots, 5. (a) Use linearity of expectation to find E[X]. (b) Compute Cov (X i, X j) for i \ne j and use it to derive Var (X). (c) Verify that your variance formula reduces to the binomial variance np(1-p) when N with K/N p held fixed.概率困难derivation未尝试免费210Multinomial Covariance and Conditional DistributionA fair die is rolled n = 60 times. Let X i be the number of times face i appears, for i = 1, \ldots, 6, so (X 1, \ldots, X 6) \sim Multinomial (60,\, 1/6, \ldots, 1/6). (a) Using indicator variables, compute Cov (X 1, X 2). (b) Find the correlation (X 1, X 2). (c) Determine the conditional distribution of (X 2, X 3, X 4, X 5, X 6) given X 1 = 12. What is E[X 2 \mid X 1 = 12]?概率困难derivation未尝试免费215Distribution of Dice Sums via Probability Generating FunctionsLet X 1, X 2, \ldots, X n be iid rolls of a fair d-sided die, so each X i is uniform on \ 1, 2, \ldots, d\ . Let S n = X 1 + X 2 + \cdots + X n. (a) Derive the PGF G X 1 (s) = E[s X 1 ] in closed form. (b) Write the PGF of S n and use it to derive E[S n] and Var (S n). (c) For n = 3 fair six-sided dice (d = 6), use the PGF to find P(S 3 = 10). (d) Explain how the coefficient-extraction approach relates to the classical stars-and-bars counting with inclusion-exclusion for this problem.概率困难derivation未尝试免费218Coupon Collector's Problem via Geometric Waiting TimesA cereal box contains one of n distinct coupon types, each equally likely. You buy boxes one at a time, independently. Let T be the number of boxes needed to collect all n types. (a) Define T i as the number of additional boxes needed to go from i-1 distinct types to i distinct types. What is the distribution of T i? State its parameter. (b) Express T in terms of T 1, T 2, \ldots, T n and use linearity of expectation to derive E[T]. (c) Show that E[T] = n H n where H n = \sum k=1 n 1/k is the n-th harmonic number. (d) Compute E[T] for n = 10. How many boxes on average? (e) Derive Var (T) using the independence of T 1, \ldots, T n.概率中等derivation未尝试免费219Distribution of the Maximum of Independent Geometric Random VariablesLet X 1, X 2, \ldots, X n be independent Geometric (p) random variables with P(X i = k) = (1-p) k-1 p for k = 1, 2, \ldots Define M = \max(X 1, \ldots, X n). (a) Show that P(M \le m) = [1 - (1-p) m] n for m = 1, 2, \ldots (b) Derive P(M = m) from the CDF. (c) Express E[M] as an infinite series using the tail-sum formula E[M] = \sum m=0 P(M > m). Simplify to: E[M] = \sum m=0 [1 - (1 - (1-p) m) n ]. (d) For the special case n = 2, p = 1/2, compute P(M = 1), P(M = 2), P(M = 3) and verify they sum to nearly 1. Compute E[M] exactly by evaluating the series. (e) For general n and small p, argue heuristically that E[M] \approx \ln n p by comparing to the continuous exponential analogue.概率困难derivation未尝试免费285Robust Monochromatic Cliques in a Random Edge-ColoringEach edge of the complete graph K n is independently colored red or blue with equal probability 1 2 . For a fixed integer k \ge 2, find the expected number of monochromatic k-cliques (complete subgraphs on k vertices whose edges are all the same color). Express your answer in terms of n and k. Additional robustness twist: before observation, an independent random relabeling of outcome labels is applied. Compute the same target and justify invariance.概率困难derivation未尝试免费286Robust Ascents in a Random PermutationLet be a uniformly random permutation of \ 1, 2, \dots, n\ . An ascent at position i (for 1 \le i \le n-1) is a position where (i) < (i+1). Find the expected number of ascents. Additional robustness twist: before observation, an independent random relabeling of outcome labels is applied. Compute the same target and justify invariance.概率简单derivation未尝试免费288Robust Isolated Vertices in a Random GraphIn the Erdos-Renyi random graph model G(n,p), each of the \binom n 2 possible edges among n labeled vertices is included independently with probability p. A vertex is isolated if it has no edges. Find the expected number of isolated vertices. Additional robustness twist: before observation, an independent random relabeling of outcome labels is applied. Compute the same target and justify invariance.概率中等derivation未尝试免费295Robust Cycles in a Random PermutationLet be a uniformly random permutation of \ 1, 2, \dots, n\ . Find the expected number of cycles in the cycle decomposition of . Express your answer as a familiar function of n. Additional robustness twist: before observation, an independent random relabeling of outcome labels is applied. Compute the same target and justify invariance.概率困难derivation未尝试免费300Robust Common Edges of Two Random Spanning TreesLet T 1 and T 2 be two independent uniformly random spanning trees of the complete graph K n (each drawn uniformly at random from all n n-2 labeled spanning trees, independently of the other). Find the expected number of edges that belong to both T 1 and T 2. Additional robustness twist: before observation, an independent random relabeling of outcome labels is applied. Compute the same target and justify invariance.概率困难derivation未尝试免费301Robust Descents in a Random PermutationLet be a permutation of \ 1, 2, \dots, n\ chosen uniformly at random. A descent is a position i \in \ 1, \dots, n-1\ where (i) > (i+1). What is the expected number of descents? Additional robustness twist: before observation, an independent random relabeling of outcome labels is applied. Compute the same target and justify invariance.概率简单数值题未尝试免费302Robust Matching Colors in a LineThere are n people standing in a line. Each person independently and uniformly picks one of three colors: red, green, or blue. What is the expected number of adjacent pairs (i, i+1) who chose the same color? Additional robustness twist: before observation, an independent random relabeling of outcome labels is applied. Compute the same target and justify invariance.概率简单数值题未尝试免费305Robust Unique Choices and Unique NeighborsThere are n people in a line, and each independently and uniformly picks an integer from \ 1, 2, \dots, k\ . A person is called unique if no other person picked the same number. (a) Using indicator variables, find E[U], the expected number of unique people. (b) A unique neighbor pair is a pair of adjacent people (i, i+1) who are both unique. Find E[N], the expected number of unique neighbor pairs. Additional robustness twist: before observation, an independent random relabeling of outcome labels is applied. Compute the same target and justify invariance.概率困难derivation未尝试免费306Robust Intermediate Positions in a PermutationLet be a uniformly random permutation of \ 1, 2, \dots, n\ . Call position i \in \ 2, \dots, n-1\ an intermediate position if (i) is strictly between (i-1) and (i+1), i.e., \min( (i-1), (i+1)) < (i) < \max( (i-1), (i+1)). What is the expected number of intermediate positions? Additional robustness twist: before observation, an independent random relabeling of outcome labels is applied. Compute the same target and justify invariance.概率简单数值题未尝试免费323Robust Overlap of Two Random SubsetsLet S and T be two subsets of \ 1, 2, \dots, n\ , each chosen independently and uniformly at random from all \binom n k subsets of size k (where 1 \le k \le n). Find the expected size of their intersection |S \cap T|. Additional robustness twist: before observation, an independent random relabeling of outcome labels is applied. Compute the same target and justify invariance.概率中等derivation未尝试免费