[amazon] larget substring length with unique chars