So i've checked through the tips, I have to get an algorithm, So i have clicked on the provided algorithm, It says some stuff about queues and deqeues them etc., But i don't get any of it, Can anyone explain it?