Algorithms and Problem-Solving in JavaScript
Ends soon! Keep adding new skills with 10,000+ programs for $239 (usually $399). Save now.
Algorithms and Problem-Solving in JavaScript
This course is part of JavaScript Mastery β Zero to Hero for Interviews Specialization
Included with
Learn more
Recommended experience
Recommended experience
What you'll learn
Understand core algorithmic concepts and apply them to solve real-world problems.
Implement JavaScript solutions using loops, recursion, and various array methods.
Analyze algorithm performance using Big O notation and optimize code.
Solve interview-style problems like checking for palindromes and implementing sorting algorithms.
Details to know
4 assignments
See how employees at top companies are mastering in-demand skills
Build your subject-matter expertise
- Learn new concepts from industry experts
- Gain a foundational understanding of a subject or tool
- Develop job-relevant skills with hands-on projects
- Earn a shareable career certificate
There are 2 modules in this course
This course features Coursera Coach!
A smarter way to learn with interactive, real-time conversations that help you test your knowledge, challenge assumptions, and deepen your understanding as you progress through the course. Learn the foundations of algorithms and problem-solving techniques in JavaScript through hands-on exercises and real-world examples. This course begins with the basic concepts of algorithms, like reversing strings, factorial calculations, and finding the smallest number in nested arrays. You'll move through intermediate topics like solving anagrams, using the reduce() method, and implementing recursive solutions. By applying these techniques to practical problems, youβll become proficient at developing efficient algorithms. As you progress, you will tackle more complex challenges, including sorting algorithms, palindrome checking, and solving LeetCode problems like "Trapping Rainwater." The course also covers essential topics like Big O notation and time complexity, which are critical for optimizing algorithm performance. Each video is designed to help you develop problem-solving skills, debug efficiently, and think critically about optimizing your code. This course is aimed at intermediate developers who already have a basic understanding of JavaScript. If you're looking to strengthen your algorithmic thinking and prepare for coding interviews, this course will help you build those skills. While no advanced algorithm experience is required, familiarity with basic JavaScript concepts is beneficial. By the end of the course, you will be able to solve complex problems using JavaScript, understand the performance of algorithms using Big O notation, and confidently apply algorithmic thinking in coding interviews.
In this module, we will explore the fundamentals of algorithms, from string reversal to advanced problem-solving techniques. You'll learn how to apply algorithms to manipulate data, calculate factorials, and solve real-world challenges such as finding the longest word or truncating text. As you work through the exercises, youβll build essential problem-solving skills crucial for tackling coding interviews and technical challenges.
What's included
38 videos1 reading1 assignment
38 videosβ’Total 172 minutes
- What to Expect in This Section!β’1 minute
- Exercise - How to Reverse a Stringβ’3 minutes
- How to Reverse a String - Solution Iβ’5 minutes
- How to Reverse a String - Solution IIβ’5 minutes
- What Is a Factorial in JavaScript (Probability Calculations)β’5 minutes
- Exercise - Write a Factorial Function in JavaScriptβ’2 minutes
- Solution I - Write a Factorial Function in JavaScriptβ’6 minutes
- How to Find the Longest Word in a Stringβ’2 minutes
- Solution I - How to Find the Longest Word in a Stringβ’5 minutes
- Solution II - How to Find the Longest Word in a String with ForEachβ’5 minutes
- How to Return the Smallest Number in Nested Arraysβ’3 minutes
- Solution - How to Return the Smallest Number in Nested Arraysβ’4 minutes
- How to Repeat a String in JavaScriptβ’2 minutes
- Solution I - How to Repeat a String in JavaScriptβ’2 minutes
- Solution II - How to Repeat a String in JavaScriptβ’2 minutes
- Solution III - How to Repeat a String in JavaScript - Array Fill Methodβ’2 minutes
- What Is Truncation and Truncate in JavaScriptβ’2 minutes
- Exercise - How to Truncate in JavaScript Overflow Subscriptionsβ’3 minutes
- Solution - How to Truncate in JavaScript Overflow Subscriptionsβ’4 minutes
- Hacking a Password with Matching Keywords in JavaScriptβ’6 minutes
- Solution - Hacking a Password with Matching Keywords in JavaScriptβ’8 minutes
- Formatting and toUpperCase with JavaScriptβ’4 minutes
- Exercise - Automate a Company Website with Correct Formatting in JavaScriptβ’4 minutes
- Solution I - Automate a Company Website with Correct Formatting in JavaScriptβ’8 minutes
- Solution part II - Automate a Company Website with Correct Formattingβ’3 minutes
- What Is the Sort Method in JavaScriptβ’3 minutes
- Example of How to Sort in JavaScriptβ’4 minutes
- Interview Question - Sort and Order Numbers into an Array with JavaScriptβ’4 minutes
- Interview Solution I - Sort and Order Numbers into an Array with JavaScriptβ’6 minutes
- Interview Solution II - Sort and Order Numbers into an Array with JavaScriptβ’2 minutes
- What Are Anagrams and Mutations in JavaScriptβ’6 minutes
- Solution I - Anagrams Problem in JavaScriptβ’11 minutes
- Solution II - Iterative Optimization Anagrams Problem in JavaScriptβ’4 minutes
- Solution III - Iterative Optimization Anagrams Problem in JavaScriptβ’9 minutes
- How to Debug and Problem-Solve Step-by-Step - Iterative Optimization Anagramsβ’8 minutes
- Exercise - Chunking Arrays into Subgroups and Subarraysβ’6 minutes
- Solution I - Chunking Arrays into Subgroups and Subarraysβ’11 minutes
- Solution II - Chunking Arrays into Subgroups and Subarraysβ’3 minutes
1 readingβ’Total 10 minutes
- Introduction to the Course 'Algorithms and Problem-Solving in JavaScript'β’10 minutes
1 assignmentβ’Total 15 minutes
- Algorithms - Basics and Fundamentals to Intermediate - Assessmentβ’15 minutes
In this advanced module, you will dive into higher-level algorithms and data structures. Youβll tackle complex problems using recursion, callbacks, and regular expressions. Through detailed examples and solutions, you will learn how to optimize code performance, analyze algorithm efficiency, and apply these concepts to real-world scenarios like building an array calculator or solving LeetCode interview challenges. This section is designed to prepare you for tackling complex coding interviews and real-world application development.
What's included
40 videos1 reading3 assignments
40 videosβ’Total 314 minutes
- Quick Recall - What Is the Math Method in JavaScriptβ’2 minutes
- Exercise - Build an Array Calculatorβ’3 minutes
- Solution I - Build an Array Calculatorβ’8 minutes
- Solution II - Build an Array Calculatorβ’4 minutes
- What Are Callback Functions in JavaScriptβ’5 minutes
- Exercise - Virus Detection Algorithm with Asymmetric Arraysβ’3 minutes
- Solution - Virus Detection Algorithm with Asymmetric Arraysβ’11 minutes
- What is the Filter Method in JavaScriptβ’8 minutes
- Exercise - Group Objects in JavaScriptβ’5 minutes
- Solution - Group Objects in JavaScriptβ’7 minutes
- Solution Part II - Group Objects in JavaScriptβ’8 minutes
- What Is Reg Ex and How to Use it in JavaScriptβ’7 minutes
- Exercise - Star Power with RegEx in JavaScriptβ’2 minutes
- Solution - Star Power with RegEx in JavaScriptβ’13 minutes
- Exercise - Pairing Elements in Multi-Dimensional Arraysβ’5 minutes
- Solution - Pairing Elements in Multi-Dimensional Arraysβ’9 minutes
- charChodeAt and fromCharCode with JavaScriptβ’4 minutes
- Generate Missing Alphabet Letters UTF with JavaScriptβ’2 minutes
- Solution - How to Generate Missing Letters Between Characters in JavaScriptβ’13 minutes
- What Is the Reduce Method in JavaScript and Example Iβ’4 minutes
- What Is the Reduce Method in JavaScript and Example IIβ’3 minutes
- Exercise - Sort Out Facebook Groups by Locationβ’4 minutes
- Solution I - Sort Out Facebook Groups by Locationβ’7 minutes
- Solution II - Sort Out Facebook Groups by Locationβ’4 minutes
- Understanding the Fibonacci Series and Recursion in JavaScriptβ’15 minutes
- What Is Big O and Time Complexityβ’4 minutes
- Exercise - Convert an Exponential Solution to a Linear Solutionβ’6 minutes
- Solution - Convert an Exponential Solution to a Linear Solutionβ’12 minutes
- Solution - Writing Testing Units for Model Predictions with JavaScript - Part Iβ’7 minutes
- Solution - Writing Testing Units for Model Predictions with JavaScript - Part IIβ’2 minutes
- Reverse Logic to Writing Testing Units for Model Predictionsβ’6 minutes
- What Is the Constructor and "this" keyword in JavaScriptβ’14 minutes
- Interview Question - Uber Eats Payment Databaseβ’6 minutes
- Solution - Uber Eats Payment Databaseβ’27 minutes
- What Is a Palindrome - Interview Question in JavaScriptβ’7 minutes
- Interview Question - Check Whether a String Is a Palindromeβ’3 minutes
- Solution - Check whether a String Is a Palindromeβ’14 minutes
- LeetCode Example - Trapping Rainwaterβ’7 minutes
- LeetCode Example Solution Steps - Trapping Rainwaterβ’18 minutes
- LeetCode Example Solution - Trapping Rainwaterβ’24 minutes
1 readingβ’Total 10 minutes
- Conclusion to the Course 'Algorithms and Problem-Solving in JavaScript'β’10 minutes
3 assignmentsβ’Total 90 minutes
- Algorithms and Data Structures - Intermediate to Advanced - Assessmentβ’15 minutes
- Full Course Assessmentβ’60 minutes
- Full Course Practice Assessmentβ’15 minutes
Earn a career certificate
Add this credential to your LinkedIn profile, resume, or CV. Share it on social media and in your performance review.
Instructor
Offered by
Explore more from Software Development
Course
Category: Credit offeredCourse
Category: Credit offered
Why people choose Coursera for their career
Frequently asked questions
Yes, you can preview the first video and view the syllabus before you enroll. You must purchase the course to access content not included in the preview.
If you decide to enroll in the course before the session start date, you will have access to all of the lecture videos and readings for the course. Youβll be able to submit assignments once the session starts.
Once you enroll and your session begins, you will have access to all videos and other resources, including reading items and the course discussion forum. Youβll be able to view and submit practice assessments, and complete required graded assignments to earn a grade and a Course Certificate.
More questions
Financial aid available,
