Reddit Experience · Dec 2025

Revolut interview - coding session [Rejected]

SWE Technical Senior Easy
6 upvotes 10 replies

Interview Experience

That was a Python interview for a senior role. The interviewer was nice and answered the questions about the tasks. Rejection letter: `Unfortunately, after much consideration, we have decided not to p

Full Details

That was a Python interview for a senior role. The interviewer was nice and answered the questions about the tasks. Rejection letter: Unfortunately, after much consideration, we have decided not to proceed further with your application, as we require more specific knowledge to be successful in our recruitment process. Tasks were very easy for me. I spent more time asking the interviewer what he wanted to see in my code. Coding session took around an hour. Write a class that will register strings, but no more than 10 of them (raise an error in case of overflow). Make a test for that. Add a method `get` that will randomly return one of the strings. Write a test for that method. Make it possible to switch `get` to round robin. Write a test for that. My solution was written during an interview. app.py if len(self._instances) == BALANCER_INSTANCE_LIMIT: raise OverLimitInstances(f"{BALANCER_INSTANCE_LIMIT}") self._instances.append(url) def get(self) -> str: if len(self._instances) == 0: raise EmptyInstancesRegistry return self._randomizer(self._instances)

Free preview. Unlock all questions →

Topics

Strings Networking