unique chars - no additional data structure