Pregunta de entrevista de Commonwealth Bank of Australia

Write a rate limiting function.