Your question is Refactoring Procedural Code. Take a moment with it on the right.
Talk me through your thinking if you like. When you're confident, submit your answer and I'll grade it like a real screen (7/10 or better passes).
How would you improve an existing, highly procedural code solution using design patterns and OOP principles?
Explain how you would assess the current code, identify responsibilities and dependencies, and choose an incremental refactoring approach. Discuss which patterns you might apply, how you would preserve behavior through testing, and how you would avoid introducing unnecessary abstraction. Use a small representative example if helpful, but focus on practical engineering decisions rather than naming patterns mechanically.