DIY: Random Pick Index

Solve the interview question "Random Pick Index" in this lesson.

Problem statement

In this challenge, you are given an array of integers ...

Access this course and 1400+ top-rated courses and projects.