Array › The k items in the stack are the first k items in the array › Push is InsertLast, Pop is DeleteLast, Top is access to the last element of the array • Linked List › Push is InsertFront, Pop is DeleteFront, Top is “access” the first element › IsEmpty is test for null Stacks and Queues 9 Array Implement - Study24x7
Social learning Network
16 Mar 2019 10:30 AM study24x7 study24x7

Array › The k items in the stack are the first k items in the array › Push is InsertLast, Pop is DeleteLast, Top is access to the last element of the array • Linked List › Push is InsertFront, Pop is DeleteFront, Top is “access” the first element › IsEmpty is test f...

See more

study24x7
Write a comment
Related Questions
500+   more Questions to answer
Most Related Articles