Skip to content
Avio Lines
← Strings lineD2Stop 35 of 104

Find Beautiful Indices in the Given Array I (LeetCode 3006)

MediumLeetCode 3006 · Pattern Matching (KMP / Z / Rabin-Karp) · Google, Microsoft +1 · 28:08Find Beautiful Indices in the Given Array · Part I · Part II · Same Code · KMP · Weekly Contest 380
MIK's code LeetCode ↗ YouTube ↗

My notes

Sign in to keep private notes on every station, with video timestamps.

Try it before watching

Pause here and write your approach in two lines. Compare it with MIK's when the video ends.

Sign in to write your approach →

About this video

Video solution for LeetCode 3006 Find Beautiful Indices in the Given Array I by codestorywithMIK: Strings, Medium. Topics: Two Pointers, String, Binary Search, Rolling Hash. Watch the explanation, then check the code and solve it on LeetCode.

Difficulty
medium
Topics
Two Pointers, String, Binary Search, Rolling Hash, String Matching, Hash Function, Z Algorithm, Knuth–Morris–Pratt Algorithm, Boyer–Moore String-Search Algorithm
Patterns
Pattern Matching (KMP / Z / Rabin-Karp)
Chapter
Strings
Duration
28:08