LeetCode Solutions

My solutions and explanations for LeetCode problems

All Solutions

28. Find the Index of the First Occurrence in a String

Solution and explanation for finding the first occurrence of a string within another string, including both brute force and KMP algorithm approaches

Published: March 2024StringKMP