Oktatás * Programozás 2 * Szkriptnyelvek * levelezősök Félévek Linkek * kalendárium |
EnPy3 /
20130325aQueue with two stacks Write a The class should implement the following operations:
Note For the internal stacks, you can use your own Stack implementation! Bonus point The number of data moves between the stacks can be reduced. If you figure out how and implement it, then you get +1 extra point. A little help: when are there unnecessary data moves? |
Blogjaim, hobbi projektjeim * The Ubuntu Incident [ edit ] |