Skip to main content
grasp.study
About
Explore
Pricing
Log in
Try it for free
Back to course
👋
Welcome to a Grasp lesson
Create a free account
to keep studying and create your own study path.
Learning Data Structures
·
Module 4
Strings & Sliding Window Patterns
1
Java String Manipulation: Reverse, Palindrome, Anagram
Perform fundamental string manipulations in Java, including reversal and checking for palindromes/anagrams.
2
Longest Common Prefix
Find the longest common prefix among an array of strings.
3
Fixed-Size Sliding Window Technique
Apply the fixed-size sliding window technique to solve constrained subarray problems (e.g., max sum subarray of size k).
4
Longest Substring Without Repeating Characters
Find the longest substring without repeating characters using a variable-size sliding window and a HashSet or array.
5
Minimum Window Substring: Sliding Window & HashMap
Solve the 'Minimum Window Substring' problem using a sliding window with a HashMap for frequency tracking.
6
Sliding Window: Substrings with At Most K Distinct Characters
Count the number of substrings with at most K distinct characters using a sliding window.
7
Efficient Pattern Searching: Z-Algorithm & KMP
Implement the Z-algorithm or KMP algorithm for efficient pattern searching in a string.
Previous module
Sorting & Searching Algorithms
Next module
Linked Lists