> reverse an array of 100 numbers.
You gave them an O(n) solution. Not a comp sci major on the whole other side of the table. You’d spend the majority of your time there trying to explain to them why their solutions were so non performant.
Hell, I didn’t even remember what an O(n) solution was, from my Comp Sci days.
I just went to the simplest solution my gut told me would work. :^)