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

CodeSignal

Mastering Hashes, Two Pointers, and Additional Algorithms in Ruby

via CodeSignal

Overview

Explore key programming algorithms involving Hashes, Sets, and two-pointer techniques. This course will boost your skills in optimizing data structures and refining your problem-solving strategies.

Syllabus

  • Unit 1: Complexity Analysis and Optimization in Ruby
    • Calculate Total Points Between Towns in Integerland
    • Finding the Smallest Absolute Difference in an Array
    • Optimized Replacement in Arrays
  • Unit 2: Optimizing Array Comparisons with Ruby Sets
    • Common Characters Extraction Task
    • Check Celestial Body Presence Using Set
    • Movie Recommendation System
  • Unit 3: Optimizing Array Manipulation Using Ruby Hashes
    • String Partition Challenge
    • Breaking Maximum Words in a String
    • Construct a Method to Find Minimum Word Distances in a List
  • Unit 4: Efficient Pair Finding with the Two-Pointer Technique in Ruby
    • Find Chocolate Pairs with Zero Sweetness
    • Maximum Sum Subarray Using Two-Pointer Technique
    • Finding the Longest Subarray with a Given Sum
  • Unit 5: Optimizing Array Processing with Ruby Techniques
    • Find Closest Half in Arrays
    • Identify the Person with the Most Connections within Two Degrees
    • Longest Substring with K Distinct Characters

Reviews

Start your review of Mastering Hashes, Two Pointers, and Additional Algorithms in Ruby

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.