Question

You are asked to implement a feature that requires storing unique items and quickly checking for the existence of an item. Which data structure would be the most efficient for this?

A Array
B Linked List
C Stack
D Set (e.g., HashSet in Java, set in Python)
E Queue
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)