Category : abstract

I have a University assignment in which the teacher asks us to implement a class Stack using the previously created List class. In his book, the specific says literally: TYPE Stack = l : List s.create(): l.create() s.void(): l.void() s.push(): l.insert(element, head) s.pop(): l.remove(head) Obviously, the specific is written in a pseudo-language, but we have ..

Read more