Also reported as Random Pick with Weight · LeetCode 528 Variant
Nuro phone-screen question, reconstructed from 4 candidate reports (April 2026 to October 2026). Candidates reported 1 follow-up. The write-up includes a Python solution that passes 10 test cases.