Given an undocumented and inefficient legacy python function in an online code-pad, perform a code review and refactor the code (~15m)
Anonymous
Refactored mostly in pseudo-code due to time, describing my thought process as I went.
Check out your Company Bowl for anonymous work chats.