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

CodeSignal

Mastering Algorithms: HashMaps, Two Pointers, and Beyond in Java

via CodeSignal

Overview

Dive into the key algorithms involving HashMaps, HashSets, 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 Java
    • Summing Points Between Two Towns in Integerland
    • Finding the Smallest Absolute Difference in an Integer List
    • Optimized Array Replacement
  • Lesson 2: Complexity Analysis and Optimization Using HashSet in Java
    • Common Characters Extraction Task
    • Efficient Celestial Body Search Using HashSet in Java
    • Movie Recommendation System Based on Viewing History
  • Lesson 3: Using HashMap for Optimal List Manipulation and Analysis in Java
    • Partitioning Characters into Substrings
    • Maximizing Unique Words by Removing a Character
    • Shortest Distance Between Word Occurrences
  • Lesson 4: Two-Pointer Technique for Pair Sum in Java
    • Chocolates Sweetness Pairing Task
    • Finding the Maximum Sum of k-Length Subarray Using Two Pointers
    • Longest Subarray with Given Sum
  • Lesson 5: Complex Array Manipulation and Two-Pointer Technique in Java
    • Closest Half Numbers in Arrays
    • Finding the Most Influential Person in a Social Network
    • Longest Substring with K Distinct Characters

Reviews

Start your review of Mastering Algorithms: HashMaps, Two Pointers, and Beyond in Java

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.