Pregunta de entrevista de Affirm

Similar to Leetcode GetRandom. Leetcode prep is good enough