| Shuffle a Playlist So No Artist Plays Twice in a Row | Google | Medium | Coding | | Heap, Greedy, Randomization | |
| Fair Coin from a Biased Coin, a Buggy 1..n Sampler, and a Monte Carlo Estimate | Anthropic | Medium | CodingProbabilityDebugging | Phone Screen, Onsite | Math, Concurrency, Randomization | |
| Weighted Random Picker with Add, Update and Remove | Nuro | Medium | Coding | | Hash Table, Binary Search, Design +1 | |
| Set With O(1) Insert, Delete and Get-Random | Amazon | Medium | Coding | Onsite | Array, Hash Table, Design +1 | |
| Pick a Random Country Weighted by Population | Apple | Medium | Coding | | Binary Search, Randomization | |
| Key-Value Store With O(1) Random Access | Uber | Medium | Coding | Onsite | Hash Table, Design, Randomization | |
| CodeSignal Python Debugging: Make a NumPy Extremely Randomized Trees Codebase Pass Its Tests | Anthropic | Hard | Machine LearningDebugging | Online Assessment, CodeSignal | Tree, Randomization | |
| Randomly Fill a Board With Four Connected, Equal-Size Regions | Waymo | Hard | Coding | Onsite | Graph, BFS, Randomization | |
| Set With O(1) Insert, Delete and Get-Random | LinkedIn | Medium | Coding | Onsite | Hash Table, Design, Randomization | |
| Ticket Raffle With O(1) Weighted Draws | LinkedIn | Hard | Coding | Phone Screen | Hash Table, Design, Randomization | |
| Random Index Weighted by Value | Amazon | Medium | Coding | | Binary Search, Design, Randomization | |
| Obstacle Course Run Statistics | Headway | Medium | CodingObject-Oriented DesignDebugging | Phone Screen, Karat | Array, Randomization | |
| Generate Unique NFT Tokens With Weighted Trait Rarity | Coinbase | Medium | CodingProbability | Onsite | Hash Table, Randomization | |
| Predict the Next Word from Example Sentences | Google | Easy | Coding | Onsite | Hash Table, Design, Randomization | |
| Randomly Merge Connected Graphs Into One | Databricks | Medium | Coding | Phone Screen | Graph, Randomization | |
| Build a Baseball-Style Team That Survives Rule Changes | Verily | Easy | CodingObject-Oriented Design | Onsite | Design, Randomization | |
| Random 1–4 Grid Where Every Cell Has a Matching Neighbour | Waymo | Medium | Coding | Phone Screen | Array, Randomization | |
| Draw Coloured Balls Without Replacement in O(log k) per Draw | Nuro | Hard | Coding | Phone Screen | Binary Search, Math, Randomization | |