We use cookies to measure traffic and show relevant ads. By clicking Accept you agree to our use of analytics and advertising cookies.
Breakdown of number guessing strategies in [1,N]: Knuth's maximin O(N²), random O(log N), Metropolis-Hastings MCMC. Code, analysis, benchmarks. Choose the optimal for your N.