Different solution for contains duplicate
Different solution for valid anagram
Different solution for two sum