MoneyTap interview question

Implement hashmap/debug a find prime code/minimum length substring with maximum distinct characters.