PREV INDEX NEXT

Author: Stan Eisenstat
Subject: Re: [Cs223] Backtracking problem
Date: Thursday, 13 Feb 2020, 18:16:33


    > Message Posted By: Unknown
    >
    > For some reason, sometimes my backtracking will instantly print the right
    > answer and other times it will take forever. What sort of mistake might
    > produce an error like this?

For some capacities and item sizes very little
backtracking is required; for others a lot is.

Without being able to run your code, I cannot
answer your question.

--Stan-
PREV INDEX NEXT