Unique elements in subarray Count unique characters of all substrings of a given string Longest nice subarray Longest substring without repeating characters Maximum erasure value Optimal partition of string