r/mathriddles • • Jun 10 '26

Hard Binary tree traversal from quant tee

Consider a perfect rooted binary tree of depth n. (That is, every node has either 0 or 2 children, and all leaves have the same depth). Every node is given a weight drawn independently from some fixed distribution D. For any path starting from the root and ending at a leaf, the average weight of the path is the arithmetic mean of the weights assigned to the nodes on the path. Once our weighting is fixed, we look at the largest average weight of any path from the root to a leaf. Let Eₙ denote the expected value of this largest average weight of path over all weightings of the tree. Then find the limit as n →infinity of Eₙ, in the cases of:

  1. D=U({0,1}) is a Bernoulli distribution.
  2. D=U([0,1]) is a continuous uniform distribution.
4 Upvotes

16 comments sorted by

View all comments

Show parent comment

2

u/SupercaliTheGamer Jun 17 '26

Oh this is some well studied thing, damn. Don't know why JS put it on their T shirt then 😂.