Scramble string. AC with some unnecessary re-computation of sameChars function. Could improve.
+4.