Class Central is learner-supported. When you buy through links on our site, we may earn an affiliate commission.

CodeSignal

Mastering Algorithms: Map, Set, and Two Pointers in JavaScript

via CodeSignal

Overview

Dive into the key algorithms involving Maps, Sets, and two-pointer techniques. This course will enhance your skills in optimizing data structures and problem-solving methods.

Syllabus

  • Lesson 1: Complexity Analysis and Optimization in JavaScript
    • Sum of Points Between Towns in Integerland
    • Find the Minimum Absolute Difference in an Array
    • Optimized Replacement in Arrays
  • Lesson 2: Complexity Analysis and Optimization with JavaScript Sets
    • Common Characters Extraction in JS
    • Efficiently Checking Celestial Body Presence Using Sets in JavaScript
    • Movie Recommendations Based on Viewing History
  • Lesson 3: Complexity Analysis and Optimization with JavaScript Maps
    • Partition a String into Substrings
    • Find Character Causing Maximum Word Breaks
    • Calculating Shortest Distances Between Word Occurrences
  • Lesson 4: Two-Pointer Technique in JavaScript
    • Finding Pairs of Chocolates with Zero Sweetness Sum
    • Maximum Sum Subarray Using Two-Pointer Technique
    • Longest Subarray with Sum Equal to k
  • Lesson 5: Complexity Analysis and Optimization with JavaScript: Arrays and Two-Pointer Method
    • Closest Half Finder in Arrays
    • Finding the Most Connected Person in Two Degrees
    • Longest Substring with At Most K Distinct Characters

Reviews

Start your review of Mastering Algorithms: Map, Set, and Two Pointers in JavaScript

Never Stop Learning.

Get personalized course recommendations, track subjects and courses with reminders, and more.

Someone learning on their laptop while sitting on the floor.