boolean isReady(boolean[] a, int from, int to) {
        for (int k = from; k <= to; k++) {
            if (!a[k])
                return false;
        }
        return true;
    }
Why Did you create this class? what does it do?
src/problems/medium/MaxChunksToMakeSorted.java