Fade to Solo
Sliding Window

Permutation in String

30 MINMleetcode ↗

Problem

Given two strings, determine whether the second one contains a contiguous substring that is a permutation (character-for-character rearrangement) of the first.

30 MIN00:00unlocks in 30:00
locked30:00 left