NeetCode #772LC-1400MediumGreedy
← Back to All Problems

#772 · #1400 · Construct K Palindrome Strings(构造 K 个回文字符串)

📌 Problem Statement & Constraints

Given a string s and an integer k, return true if you can use all the characters of s to construct exactly k palindrome strings. Constraints: 1 <= s.length <= 10^5, 1 <= k <= 10^5, s consists of lowercase English 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!