ConnectWise interview question

Reverse an array on the whiteboard