Problems
Previous question · 170
SGD update step
easy
ML Coding
Next question · 172
Sports Played by Obese Participants
medium
Database
Random coding question
Python
Language
Python
Description
Solution
Discussion
171. Random Pick Index
medium
Meta
entry
Roles
Software Engineer
Quantitative Analyst
Quantitative Researcher
ML Engineer
Companies
Meta
Google
Amazon
Levels
entry
Tags
Hash Table
Math
Reservoir Sampling
Randomized
Similar Questions
Largest Perimeter Triangle
easy
Math
Plus One
easy
Math
Next Permutation
medium
Math
15 people
are solving this problem
Run
Submit
Loading editor for the selected language
Ln 1, Col 1
Program Output
DATA
INTERVIEW
Interactive coding terminal
Python environment ready.
Type a command below or run code from the editor.
run script
Execute the current editor contents
submit
Grade the current editor contents against all solution test cases
python ("print hello world")
Run an isolated Python command
help
Show all available commands
>>>