Google News
logo
Algorithm - Quiz(MCQ)
Identify the function of the stack that returns the top data element of the stack?
A)
pop()
B)
peek()
C)
push()
D)
findTop()

Correct Answer : Option (B) :   peek()

Advertisement