Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- public static String removeDuplicate(String s) {
- StringBuilder builder = new StringBuilder();
- char lastchar = '