3 ms·
and what do you see as the difference between appending in front and prepending?
by zem 14y ago
and what do you see as the difference between appending in front and prepending?
- jeremysmyth 14y agoNothing, if you're prepared to say you can pop something onto a stack and push it off.
- zem 14y agowhat about a deque? the push-pop/shift-unshift distinction is unnecessarily confusing when something doesn't have stack semantics.