Author: Stan Eisenstat
Subject: Re: [Cs223] unsuccessful remD()
Date: Saturday, 21 Mar 2020, 07:12:15
> Message Posted By: Unknown > > I am writing some code to remove items from Deque in order to add it onto > another. > > However, I encounter errors where I am unable to successfully remD(), even > though I clearly write code that checks whether that Deque is empty or not > before calling on remD(). > > A simplified version of the code looks like this: ... > Could you tell me why I could be getting errors in remD(), even though the > Deque is clearly not empty? What other reasons could be causing me to fail > remD()? Not without seeing and being able to run your code. --Stan-PREV INDEX NEXT