class Schedule {

    public List<String> analysis() {
        ArrayList<String> result = new ArrayList<String>();

        if (credits < minCredits)
            result.add("Too few credits");

        if (credits > maxCredits && !overloadAuthorized)
            result.add("Too many credits");

        checkDuplicateCourses(result);

        checkOverlap(result);

        return result;
    }

    public  Schedule(String name);

}