Skip to content

Latest commit

 

History

History
33 lines (23 loc) · 516 Bytes

File metadata and controls

33 lines (23 loc) · 516 Bytes

leetcode-100330-minimum-length-of-string-after-operations

https://leetcode.com/problems/minimum-length-of-string-after-operations

Type: Classic

Run Code Result

Your input

"abaacbcbb"

Your stdout

charIndexes={a=[0, 2, 3], b=[1, 5, 7, 8], c=[4, 6]}
    charIndexes={a=[2], b=[1, 5, 7, 8], c=[4, 6]}
    charIndexes={a=[2], b=[5, 7], c=[4, 6]}

charIndexes={a=[0, 1]}

Your answer

5
2