Ask your own question, for FREE!
MIT 6.00 Intro Computer Science (OCW) 18 Online
OpenStudy (anonymous):

Just finished Problem Set 2b. Would love to get some critique on it. https://gist.github.com/1110834

OpenStudy (anonymous):

looks ok to me!! :) but a suggestion is to check for consecutive numbers rather than going all the way to the limit..that is just a suggestion though..ran ur code and it code it did a fine job..but again its just me..!!

OpenStudy (anonymous):

You know, it's funny, I wanted to do that, but at the time I couldn't think of a way to implement it. Then I wake up, see your comment, and for some reason the solution is as clear as day. I feel like I've just been incepted.

OpenStudy (anonymous):

LOL ;D

OpenStudy (anonymous):

Just updated it :D https://gist.github.com/1110834

Can't find your answer? Make a FREE account and ask your own questions, OR help others and earn volunteer hours!

Join our real-time social learning platform and learn together with your friends!
Can't find your answer? Make a FREE account and ask your own questions, OR help others and earn volunteer hours!

Join our real-time social learning platform and learn together with your friends!