Minimum Disjoint Segments With Distinct Characters

Company: IBM

Difficulty: easy