Question library
Questions from real interviews. Drill any of them by voice in a couple of minutes, with an interviewer, a score and feedback.
Write a retry decorator with parameters: the number of attempts, the pause between attempts, and a tuple of exceptions on which to retry. If all attempts end in an error, the last exception should propagate out.Mid-levelHow do you design error handling in a large Java application: where do you use checked exceptions, where unchecked, and how do errors reach the API client?Senior