← All problems
Medium · Sliding Window

Permutation In String

Does a substring of the second string rearrange to the first?

Full problem and submission ↗
main.js

Console

Ready