Programmers.io interview question

Python Fundamentals, decorators, told to code exponential backoff, indexing