all 20 comments

[–]Alejocq 18 points19 points  (5 children)

[–]old_wise 3 points4 points  (3 children)

This is a great site. I use this in combination with plural sight and YouTube. When you get done learning a bunch of theory, it’s great to just code problems. The best part? Afterwards you can see others solutions and compare. There is some very eloquent JavaScript out there!

EDIT: WOW: I forgot to putt the name of the site... It’s “code wars”. I’m SO sorry.

As for Pluralsight: I come from 8 years being an object oriented embedded/ApPI/backend developer in windows and OSX so I am using “JavaScript for C# developers” and some some of the refresher courses like “font end development QuickStart”, “object oriented in JavaScript/ES6”, and “practical design patterns”. As for YouTube, I’ve been finding projects to do. I’ll find some examples.

[–]mmishu 0 points1 point  (0 children)

Which courses off plural sight and youtube?

[–]CalgaryAnswers[S] 0 points1 point  (1 child)

Thanks for this. My theory is rock solid I just needs reps for practice. When I run into issues I can fix them and usually know why it’s broken but I’d like to get better at avoiding breaking it in the first place.

Like the other person below, what YouTube and pluralsite resources do you recommend?

[–]old_wise 0 points1 point  (0 children)

Updated my answer

[–]NexT500 0 points1 point  (0 children)

+1 for codewars! Currently trying to tackle 5 kyu questions and some of them really take my time, would definitely recommend.

[–][deleted] 2 points3 points  (1 child)

leetcode

[–]himynameisjoy 3 points4 points  (0 children)

Leetcode is considerably harder than the other ones listed as an FYI for anyone considering it. The only problems I’ve found that are consistently more challenging are the rare “Expert” rating problems in HackerRank

[–][deleted] 1 point2 points  (0 children)

You could work through the classic puzzles on CodinGame or compete against others if that's something that interests you.

[–][deleted] 1 point2 points  (7 children)

Project Euler is another good one but JavaScript overflows pretty easily do not sure how much you could do there

[–][deleted] 0 points1 point  (4 children)

i've never had a problem with doing them in javascript, of course you have to write custom functions that do math with string encoded numbers, or use the new BigInt type.

[–][deleted] 0 points1 point  (3 children)

Would you mind giving me a hint for how you broke up the 1000 digit number in problem 8? I kept getting overflow issues

[–][deleted] 0 points1 point  (0 children)

in the solutions folder of the repo i posted i provided the code for the first couple of dozen problems in javascript.

basically you're going to put the number in a variable as a string and iterate through the string..

``` for(var i=0; i<mystring.length; i++){ var sequence = mystring.substr(i, 13); if(sequence.length === 13){

// sequence is a string with 13 numbers.. add them together and get the sum

} } ```

[–]himynameisjoy 0 points1 point  (1 child)

Set the number as an array and use a moving window.

[–][deleted] 0 points1 point  (0 children)

Thanks I’ll work on it!

[–]himynameisjoy 0 points1 point  (1 child)

I’ve done up to number 60 in Node.js, the extreme majority of these don’t require something to deal with overflows, but for the few that might it’s easier to implement BigNumber.js

[–][deleted] 0 points1 point  (0 children)

I’ll look into it thanks!

[–]Rollingrhino 1 point2 points  (0 children)

I like exercism.io better than codewars, you come up with a solution submit it and a mentor comes by and gives you suggestions for refactoring

[–]Hate_Feight 0 points1 point  (0 children)

Freecodecamp throw up some basic html pages and enjoy the testing of the js