题目: You are given an input string. For each symbol in the string if it's the first character occurence, replace it with a '1', else replace it with the amount of times you've already seen it... But will your code be performant enough? Examples: input
public class Example { static String str = new String("good"); static char[] ch = {'a','b','c'}; public static void main(String[] args) { // TODO Auto-generated method stub Example ex = new Example(); ex.change(str, ch); System.out.print(str + &