JavaScript Interview Question 38: Sum of JS arrays. What’s the ouput?
Answer and Explanation: https://learn.coderslang.com/js-test-38-adding-3-arrays-of-integers/
Answer and Explanation: https://learn.coderslang.com/js-test-38-adding-3-arrays-of-integers/
JavaScript, using Math.floor to round a number
https://learn.coderslang.com/0033-javascript-using-math.floor-to-round-a-number/
https://learn.coderslang.com/0033-javascript-using-math.floor-to-round-a-number/
Coderslang: Become a Software Engineer
JavaScript, using Math.floor to round a number
In JavaScript there are a couple of ways of rounding a number. The function Math.floor rounds the number down. It accepts a number n and returns the biggest integer that’s less than or equal n.
Algorithm complexity and efficiency
https://learn.coderslang.com/0035-algorithm-complexity-and-efficiency/
https://learn.coderslang.com/0035-algorithm-complexity-and-efficiency/
Coderslang: Become a Software Engineer
Algorithm complexity and efficiency
All algorithms have 2 main characteristics:
Amount of required memory. Execution time. These two are used to compare algorithms with each other. Some algorithms are faster, but require more memory, while others are vice versa.
Amount of required memory. Execution time. These two are used to compare algorithms with each other. Some algorithms are faster, but require more memory, while others are vice versa.
JS Interview #39: How does
Answer and Explanation: https://learn.coderslang.com/js-test-39-delayed-log-inside-the-loop/
setTimeout
work inside the for
loop?Answer and Explanation: https://learn.coderslang.com/js-test-39-delayed-log-inside-the-loop/
Optimized bubble sort in JavaScript. Cocktail sort.
https://learn.coderslang.com/0037-javascript-optimized-bubble-sort.-coctail-sort/
https://learn.coderslang.com/0037-javascript-optimized-bubble-sort.-coctail-sort/
Coderslang: Become a Software Engineer
Optimized bubble sort in JavaScript. Cocktail sort
Bubble sort algorithm doesn’t track the current state of the array.
Even if it gets the fully sorted array as an input, the runtime will remain of the same O(n^2^) complexity.
Even if it gets the fully sorted array as an input, the runtime will remain of the same O(n^2^) complexity.
JavaScript Interview #40: What is the type of
Answer and explanation: https://learn.coderslang.com/js-test-40-typeof-undefined/
undefined
in JS? What’s the output?Answer and explanation: https://learn.coderslang.com/js-test-40-typeof-undefined/
JavaScript Interview Question #41: Can we go above MAX_SAFE_INTEGER? What’s the output?
Answer and explanation: https://learn.coderslang.com/javascript-interview-41-increasing-max_safe_integer
Answer and explanation: https://learn.coderslang.com/javascript-interview-41-increasing-max_safe_integer
Internal CSS stylesheet in the HTML document
https://learn.coderslang.com/0043-internal-css-stylesheet-in-html/
https://learn.coderslang.com/0043-internal-css-stylesheet-in-html/
Coderslang: Become a Software Engineer
Internal CSS stylesheet in the HTML document
— You already know how you can add styles to a specific element. For example, you know how to change the color of the text inside the <p> tag. But what if we need to do this for several tags of the same type?
JavaScript Interview Question #42: How Math.max works in JS
Answer and explanation: https://learn.coderslang.com/javascript-interview-42-how-math.max-works-in-js
Answer and explanation: https://learn.coderslang.com/javascript-interview-42-how-math.max-works-in-js
Internal CSS stylesheet in the HTML document
https://learn.coderslang.com/0043-internal-css-stylesheet-in-html/
https://learn.coderslang.com/0043-internal-css-stylesheet-in-html/
Coderslang: Become a Software Engineer
Internal CSS stylesheet in the HTML document
— You already know how you can add styles to a specific element. For example, you know how to change the color of the text inside the <p> tag. But what if we need to do this for several tags of the same type?
Hey guys! Over the last couple of weeks there were a ton of questions from you and I appreciate your interest in learning to code. I tried to reply to every single request, but the same questions are raised again and again.
How to install node.js? How to solve task70? How to install
Today I’ll do a livestream and address your questions. Feel free to join 👉 https://www.twitch.tv/coderslang
Starting in about an hour. Will drop a direct link here when the stream goes live.
How to install node.js? How to solve task70? How to install
readline-sync
? How to import and use npm modules? What does cd
mean? How to download new tasks?Today I’ll do a livestream and address your questions. Feel free to join 👉 https://www.twitch.tv/coderslang
Starting in about an hour. Will drop a direct link here when the stream goes live.
Twitch
coderslang - Twitch
I've been programming for over 15 years, but I'm new to streaming. I'll happily accept your feedback and answer the questions. I'm also working on a Full Stack JS course that you can find at 👉 https://js.coderslang.com
If you like the course CoderslangJS or the mobile app Coderslang, you can leave your testimonial here => https://testimonial.to/coderslang
I’ll add the best ones to js.coderslang.com 🙂
I’ll add the best ones to js.coderslang.com 🙂
testimonial.to
Coderslang @ Testimonial.to
Would you like to give Coderslang a shoutout in a video or text testimonial?