DIY: Random Pick Index
Problem statement
In this challenge, you are given an array of integers with possible duplicate values. Your task is to output a randomly picked index of a given target
number present in the array. The solution ...
Create a free account to view this lesson.
By signing up, you agree to Educative's Terms of Service and Privacy Policy