Case-by-case analysis Make number of distinct characters equal Subsequences with a unique middle mode i