Re: Fun C++ Problem

Originally Posted by
Zaccheus
I got the same three for-loop internals, in this order:
i=0;i+n;i--
i=0;-i<n;i--
i=0;i<n;n--
Interesting, it seems we were struggling to find different 3rd solutions.
You must be one smart cookie if you got the i+n first 
My buddy says everyone gets these two within a reasonable amount of time
Code:
i=0;i<n;n--
i=0;-i<n;i--
But this one he said most people never figure out, and if they do it takes them a long time
But, I guess everyone thinks differently because I got the i+n second, but couldn't figure out the -i<n
Please rate my post if you felt it was helpful