Author: Stan Eisenstat
Subject: Re: [Cs223] what is isEmpty() checking?
Date: Wednesday, 18 Mar 2020, 17:22:58
> Message Posted By: Unknown > > What specifically is isEmpty() checking? In the spec, it says "Return true > if Deque *D is empty". Does this mean return true if the pointer to the H > stack and T stack both point to null? isEmptyD() returns true when the Deque does not contain any items. How you detect this is implementation-dependent. --Stan-PREV INDEX NEXT