Closed xwb1989 closed 9 years ago
Hi,
I find it might be a little confusing that Queue has Pop() method but does not has Push(). I know normally Queue should not be used as Stack but it's weird that it should has neither or both of Pop() and Push().
NVM I looked at the code and understand what's going on.
Hehe, I've been following recommendations and concepts of the Sedgewick algorithms book. Send your reclamations to him :-)
Hi,
I find it might be a little confusing that Queue has Pop() method but does not has Push(). I know normally Queue should not be used as Stack but it's weird that it should has neither or both of Pop() and Push().