- Difficulty: Medium
- Given a string, find the shortest substring that can be removed to yield a string that contains exactly K different characters.
- https://app.codility.com/programmers/challenges/yttrium2019/
- https://app.codility.com/programmers/task/different_characters/
- Result
Good
: Correctness 100%, Performance 100%.OK
: Correctness 100%, Performance <100%.Fail
: Correctness <100%, Performance <100%.
- File naming convention
- Code
A
:Yttrium2021A.java
- etc
- Code
File | Complexity | Result | Report |
---|---|---|---|
A |
O(N) |
Good |
WYFSA2-P6J |