freeCodeCamp / wiki

freeCodeCamp's deprecated wiki articles
http://www.freecodecamp.com/wiki
281 stars 308 forks source link

Added solution using a while loop #1163

Closed zuzana-kunckova closed 8 years ago

alayek commented 8 years ago

@zk433 thanks for your interest in contributing.

However, this solution is no different from the for loop solution. Any while loop can be converted to a for loop, and vice-versa.

Also, we have the rule about not accepting more than three solutions to any algorithm challenges. We have no choice but to close the pull request.


I am really sorry, but there are other places in our Wiki you could contribute. Please understand we really appreciate your enthusiasm in contributing and helping others.

Do talk to us in our Wiki room. We have tons of things for you to contribute to!