amazon OA

Anonymous User
350
Mar 30, 2024

To find all substrings in the given string s where any character repeats at least k times within that substring
test case:
s=ceccca
k=3
output=7

Comments (5)