@@ -0,0 +1,1322 @@
+import java.io.*;%0Aimport java.math.*;%0Aimport java.security.*;%0Aimport java.text.*;%0Aimport java.util.*;%0Aimport java.util.concurrent.*;%0Aimport java.util.regex.*;%0A%0Apublic class Solution %7B%0A%0A    // Complete the makingAnagrams function below.%0A    static int makingAnagrams(String s1, String s2) %7B%0A        int%5B%5D arr1 = new int%5B26%5D;%0A        int%5B%5D arr2 = new int%5B26%5D;%0A        for(int i=0;i%3Cs1.length();i++)%7B%0A            char c = s1.charAt(i);%0A            arr1%5Bc-97%5D++;%0A        %7D%0A        for(int i=0;i%3Cs2.length();i++)%7B%0A            char c = s2.charAt(i);%0A            arr2%5Bc-97%5D++;%0A        %7D%0A        int count = 0;%0A        for(int i=0;i%3C26;i++)%7B%0A            if(arr1%5Bi%5D==arr2%5Bi%5D) continue;%0A            else%7B%0A                count+=(Math.abs(arr1%5Bi%5D-arr2%5Bi%5D));%0A            %7D%0A        %7D%0A        return count;%0A    %7D%0A%0A    private static final Scanner scanner = new Scanner(System.in);%0A%0A    public static void main(String%5B%5D args) throws IOException %7B%0A        BufferedWriter bufferedWriter = new BufferedWriter(new FileWriter(System.getenv(%22OUTPUT_PATH%22)));%0A%0A        String s1 = scanner.nextLine();%0A%0A        String s2 = scanner.nextLine();%0A%0A        int result = makingAnagrams(s1, s2);%0A%0A        bufferedWriter.write(String.valueOf(result));%0A        bufferedWriter.newLine();%0A%0A        bufferedWriter.close();%0A%0A        scanner.close();%0A    %7D%0A%7D%0A

add MakingAnagram.java