Question

A stack is implemented by a singly linked list with a head pointer. Which pair of operations is O(1) per operation?

A Push at head and pop at head
B Push at tail and pop at head
C Push at head and pop at tail
D Search then delete maximum
E Insert sorted and remove median
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)