since we have already checked isEmpty queue and the 6pm time, i don’t think we need to check isempty condition again after that as shown in video.
if so, can you please explain why have you done that twice
since we have already checked isEmpty queue and the 6pm time, i don’t think we need to check isempty condition again after that as shown in video.
if so, can you please explain why have you done that twice
Hi. So initially we check if time is greater than 6pm and queue is empty then we have to close the bank. If any of the 2 conditions fail then we check if queue is empty then we have to wait and cant close the bank right now. and if queue is not empty then we process their request.
Hi Ishita. I hope ur doubt is cleared. if u still have any query u can msg back here…
I hope I’ve cleared your doubt. I ask you to please rate your experience here
Your feedback is very important. It helps us improve our platform and hence provide you
the learning experience you deserve.
On the off chance, you still have some questions or not find the answers satisfactory, you may reopen
the doubt.