
Learn to swap two words using array indices. Convert the string with split into an array, then return the second element followed by the first to swap the names.
Apply the filter method to an array of numbers and strings, returning a new array containing only numbers by checking with typeof or Number.isInteger.
Learn to alphabetize a string by splitting it into characters, sorting with JavaScript's sort method, and joining back to form the alphabetized string.
Learn to alphabetize a string by converting it to an array with the spread operator, sorting the characters, and joining them back into a sorted string.
Hi, it's me, Rob - Front End Engineer and online instructor with over 15,000 students.
If you are a beginner JavaScript students wanting to prepare yourself for your first JavaScript coding interview then this course is for you!
An algorithm is like a recipe. It takes “inputs” (the ingredients), and performs a set of simple and (hopefully) well-defined steps, and then finishes after producing an “output” (the meal).
Each lesson will present you with:
An algorithm for you to solve. This is like challenging you as a chef to produce a specific meal.
I will share with you the JavaScript tools that may be helpful to solve this challenge. This is like knowing the ingredients, tools and techniques of cooking.
I will then teach you to write out pseudocode, how you would solve this problem in your own words. This is where we will write out the recipe together.
Finally, I’ll present you with multiple ways to solve each challenge. Just like there are variations in how to make a meal, so there are a number of ways to solve an algorithm.
Check out any of the sample videos for this course to get a feel :)
Many algorithm courses will present you with a challenge then have you passively watch them solve the challenge. This course will guide you as a beginning in breaking down a problem and learning to solve on your own.
This isn’t the only algorithms course you should ever take. But it should be your first!
Let’s get cooking with JavaScript!