Find the longest happy string.
Unlock detailed company stats for this questionUpgrade
Longest Happy String: given integers a, b and c, return the longest string containing only 'a', 'b' and 'c' with at most a, b and c occurrences respectively and no three consecutive identical letters.
Community answers
No answers contributed by the community yet.
Related questions
Find the longest repeating substring.Find the Longest Palindromic Substring.Find the longest increasing subarray.Related courses

Course

Course
Course
