public boolean reorderedPowerOf2(int n) {
        if (n == 1 || ((n - 1) & n) == 0)
            return true;
        Set<String> set = new HashSet<>();
        for (int i = 0; i < 33; i++) {
            set.add(String.valueOf((int) Math.pow(2, i)));
        }
        for (String s : set) {
            if (isAnagram(s, String.valueOf(n))) {
                return true;
            }
        }
        return false;
    }
Why Did you create this class? what does it do?
src/problems/medium/ReorderedPowerof2.java