Pergunta de entrevista da empresa LineVision

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

Resposta da entrevista

Sigiloso

6 de jan. de 2026

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