1p3a_oj Question

Weighted Insertion-Deletion with Random Sampling

Question Details

Implement a data structure that supports weighted insertion and deletion, and allows for random sampling by weight. Sample Input Sample Output

Full Details

🔒

Unlock all Citadel questions

Full insider details, leaked discussions, and candidate experiences.

or every company, $100/year →