Supr Daily interview question

2 hackerearth easy questions. machine coding round- api rate limiter