- #1
JamesBwoii
- 74
- 0
Hi, I'm working through a question where I need to design the Deque data abstraction giving it's formal specification with axioms.
A deque is a queue where items can be added to and remove from either end of the queue.
I've already got an abstraction for a normal queue and from what I can see it also seems to apply for a deque. I was wondering if someone could just have a look an check.
View attachment 4342
Thanks!
A deque is a queue where items can be added to and remove from either end of the queue.
I've already got an abstraction for a normal queue and from what I can see it also seems to apply for a deque. I was wondering if someone could just have a look an check.
View attachment 4342
Thanks!