Question d’entretien chez LineVision

Given an undocumented and inefficient legacy python function in an online code-pad, perform a code review and refactor the code (~15m)

Réponse à la question d'entretien

Utilisateur anonyme

6 janv. 2026

Refactored mostly in pseudo-code due to time, describing my thought process as I went.