Video in progress
How long do you struggle with a problem on your own, and when do you ask for help?
There's no strict rule, but I set roughly a one-hour limit: if I haven't moved forward by then, I write down what I've done and ask. Sitting silent for three days is bad, and so is asking every five minutes.
📖 Answer
With this question the interviewer looks at two risks: a junior who's too independent (disappears for days) and one who's too dependent (eats the team's time).
Here's what I do:
- first on your own: read the error message, look at the logs, check Google and the project docs, step through with a debugger;
- if the set time has passed and there's no progress, ask;
- when you ask, don't say "it doesn't work", give context.
An example of a good question:
"
OrderServiceTestpasses locally and fails in CI withConnection refused. I checked the Testcontainers version, and Docker is enabled in CI. What else should I look at?"
A question like that is easy to answer, and it shows you've tried.
One more thing: if the task is urgent or prod is down, the limit isn't an hour, it's a few minutes.
Sign up to mark studied questions and save your progress.