What's going on here
The idea, to quote Nick Parlante (Stanford), is to be "practiced and quick with these little bits of code. Skill with the little code allows students to concentrate on the larger parts of the problem. Or put another other way, someone who struggles with the loops, logic, etc. does not have time for the big picture. "
My focus for awhile shifted towards becoming facile with the functional parts of JS, since they save time but are also more maintainable, especially reduce, map, and some.
Lately I am at a point where I am having fun pulling it all together. I can intuitively implement React and CSS around these Fizz Buzz types of questions.
Sources for Challenges
- Many are from Stanford U's CodingBat which now has recursive and functional problems.
- Also, this free pdf: The Code Challenge Book: How to Ace the Coding Bootcamp Technical Interview. This is not the same as the premium-but-worth-it Cracking the Coding Interview.
- Some of the DOM challenges are from Burdwan, WestBengal, India
- Leet Code which now has added some exercises with concurrency.
Possible future ideas
- Go back and write unit tests for these with edge cases in Selenium, Cocoa or similar
- Sol LeWitt drawing implementations. In Canvas?
- Rosetta Code is one of those funky "write it in many languages" sites.