If you implement a stack using a chain of linked nodes that has a head pointer, where should the top of the stack be placed for easiest and fastest access?
a. at the first node of the chain
b. at the top of the tree structure
c. at the last node of the chain
d. it doesn’t matter
a. at the first node of the chain
Computer Science & Information Technology