Fundamentals
/
Labeling System
⏸
00:00
↻
← Prev
Next →
▶
Question
Given a string s and an integer limit, return the lexicographically largest rearrangement of s such that no character appears more than limit times consecutively.
▶
Understand
▶
Approach
▶
My Code
▶
Reference Solution
Compare
23