Your Python script runs slowly. How will you figure out what exactly is slowing it down?
~4 min by voice
How to approach it
This checks whether the candidate can look for the bottleneck systematically: first measure with tools (cProfile, timeit, perf_counter), understand where the time goes, CPU or waiting on I/O, and only then optimize in a targeted way.
The interviewer will ask this question and listen. Think out loud and ask for a hint if you need one. When you're done, pause or tap “That's my answer”. In about a minute, your score and the points you covered show up here.