LeetCode Experience

#528 Random Pick with Weight

Interview Experience

LeetCode #528: Random Pick with Weight. Difficulty: Medium. Topics: Array, Math, Binary Search, Prefix Sum, Randomized. Asked at Two Sigma in the last 6 months.

Original Source

This is a frequency-tagged signal. The full problem statement lives on the original source.

View original →

About This Question

This is a candidate experience report from a two sigma interview for a swe role during the coding round.

It covers the following topics: Prefix Sum, Randomized, Arrays, Binary Search, Math .

Difficulty rating: Medium