InterviewDB Question

Function Retrier: Implement a Retry Decorator with Backoff and Exception Filtering

Question Details

Problem Implement a retry decorator that wraps a function and automatically retries it on failure. The decorator should accept: max_attempts: maximum number of tries (including the first) delay: seconds to wait between attempts (float) exceptions: tu…

Full Details

🔒

Unlock full leaked content

Full insider details, leaked discussions, and candidate experiences.

Get Premium →

Topics

Coding Onsite Phone