[TOC]
import java.util.*;
public class Different {
public boolean checkDifferent(String iniString) {
Set<Character> mySet = new HashSet<>();
for (int i = 0; i < iniString.length(); i++) {
mySet.add(iniString.charAt(i));
}
return mySet.size() == iniString.length();
}
}
2.原串反转
[3.确定两串乱序同构]