How can i to make anagram program using who char with dynamic array? : this is the Code i have, what should i do ? it's not event a String. it use dynamic Array. i dont event know what i should to do. thanks

    import java.util.ArrayList;
    import java.util.Collections;
    
    public class ArrayCheck {
    public boolean isAnagram(ArrayList<Character> arr1, ArrayList<Character> arr2) {
       }

    } 
