NeetCode #232LC-567MediumSliding WindowNC 150NC 250
← Back to All Problems

#232 · #567 · Permutation in String(字符串的排列)

📌 Problem Statement & Constraints

Given two strings s1 and s2, return true if s2 contains a permutation of s1 as a substring. Constraints: 1 <= s1.length, s2.length <= 10^4, lowercase letters.
🔒

Sign In to Unlock Full Solutions for All 973 Problems

Sign in to access step-by-step logic, benchmark Python3 code, complexity breakdown, and offline export!