Comment Re:When I was breaking in (Score 0) 726
Do you care whether they write a loop or return (n*n+1)/2? (where n=100 in this case?)
(curious whether you are looking for the person who knows the clever solution, or the guy who can write a basic loop).
Not the burst your bubble but unless your programming language of choice has some quirky order of operations your answer would be incorrect.