Skip to content

Latest commit

 

History

History

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

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 

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