Permutation in String
Given two strings s1 and s2, print true if s2 contains a permutation of s1 as a contiguous substring, otherwise false.
Constraints
1 <= len(s1), len(s2) <= 10^4 Lowercase English letters
Discussion
No discussions yet.
Shalyam Support
Hi! Ask us anything — we'll reply on WhatsApp or Telegram within 24 hours.