Question

What is the time complexity of the peek operation (accessing the top element without removing it) in a stack implemented using a singly linked list?

A O(N)
B O(log N)
C O(1)
D O(N log N)
E O(N^2)
Practice Next

Hey! Ask a query

🎓
Think You're Ready for RBI Grade B?
RBI Grade B 2026 Phase 1 Memory Based Paper
  • 200 Questions with Detailed Solutions
  • Section-wise Coverage (GA, English, Quant & Reasoning)