We use cookies to ensure you have the best browsing experience on our website. Please read our cookie policy for more information about how we use cookies.
Yes in javascript especially I find these algorithms to be a horrible pain, but other than frontend development and node I only know some C scripting and that is so much different in the way you structure these algorithms. I end up confusing myself quite often, (I'm also no genius hacker I'm like a toddler with these algorithms)
that being said I wish hackerrank would do a better job walking people form step 0, to step 0.01, to step 0.02, to step 0.03... and so on rather than skipping whole steps.
Especially for javascript and node with this streams setup I want a 12 page guide to explain what those in hackerrank are thinking behind this process. There is no textbook that tackles javascript algorithms to my knowledge even close to the hackerrank set up and it takes a long time to get comfortable in the system with no lead in.
when to use [], when to use new Array() and should I initialize with new Array(100) ? or a for loop or should I map an int of 100 (in my opinion such a horrible and crude solution.)
similarly to arrays strings in javascript, and hashes need to be explicitly covered I wonder if there is a JS algorithms style guide?
pivots when you don't have explicit memory control and using javascript's scoping is unique to say the least.
There is so much more to the integral parts of solving these algorithms but I think I covered some of the most obvious issues.
Insertion Sort - Part 1
You are viewing a single comment's thread. Return to all comments →
Yes in javascript especially I find these algorithms to be a horrible pain, but other than frontend development and node I only know some C scripting and that is so much different in the way you structure these algorithms. I end up confusing myself quite often, (I'm also no genius hacker I'm like a toddler with these algorithms)
that being said I wish hackerrank would do a better job walking people form step 0, to step 0.01, to step 0.02, to step 0.03... and so on rather than skipping whole steps.
Especially for javascript and node with this streams setup I want a 12 page guide to explain what those in hackerrank are thinking behind this process. There is no textbook that tackles javascript algorithms to my knowledge even close to the hackerrank set up and it takes a long time to get comfortable in the system with no lead in.
when to use [], when to use new Array() and should I initialize with new Array(100) ? or a for loop or should I map an int of 100 (in my opinion such a horrible and crude solution.)
similarly to arrays strings in javascript, and hashes need to be explicitly covered I wonder if there is a JS algorithms style guide?
pivots when you don't have explicit memory control and using javascript's scoping is unique to say the least.
There is so much more to the integral parts of solving these algorithms but I think I covered some of the most obvious issues.