public String nextClosestTime(String time) {
        int n = Integer.parseInt(time.split(":")[0] + time.split(":")[1]);
        for (int i = n / 100; i < 24; i++) {
            int k = n % 100 + 1;
            if (i > n / 100)
                k = 0;
            for (int j = k; j < 60; j++) {
                if (contains(time, i, j)) {
                    return make(i, j);
                }
            }
        }
        for (int i = 0; i < n / 100; i++) {
            for (int j = 0; j < n % 100; j++) {
                if (contains(time, i, j)) {
                    return make(i, j);
                }
            }
        }
        return time;

    }
Why Did you create this class? what does it do?
src/problems/medium/NextClosestTime.java