freeCodeCamp / wiki

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

Chunky Monkey needs better solutions #1205

Closed raisedadead closed 8 years ago

raisedadead commented 8 years ago

Referring https://github.com/FreeCodeCamp/FreeCodeCamp/issues/9500

The basic solution is very convoluted and intermediate isn't much better. Advanced is OK.

Challenge also might benefit from mentioning the splice method since that is a much simpler approach than slice.

Propose eliminating that ugly basic solution, demoting intermediate to basic, and advanced to intermediate. Also recommend adding splice to list of suggested methods.

dakshshah96 commented 8 years ago

Working on it. Will open a PR soon. 👍

Rafase282 commented 8 years ago

The solution has been updated here.

Any further modifications can be done int he forum along with improved solutions.