Question
Download Solution PDFWhich of the following symbol table implementation is best suited if access time is to be minimum ?
This question was previously asked in
UGC NET Computer Science (Paper 2) 07 Dec 2023 Official Paper
Answer (Detailed Solution Below)
Option 3 : Hash Table
Free Tests
View all Free tests >
UGC NET Paper 1: Held on 21st August 2024 Shift 1
10.8 K Users
50 Questions
100 Marks
60 Mins
Detailed Solution
Download Solution PDFThe correct answer is Hash Table
Key Points
- All of the data structures you listed can be used to implement a symbol table, but they offer different trade-offs between operation times (like insertion, deletion, access).
- Our primary concern is minimizing access time, then use Hash Table.
- A Hash Table can provide constant time O(1) average case complexity for lookup operations, assuming a good hash function and well-distributed data.
- This means that, on average, lookup time remains constant regardless of the number of elements in the table. Potential downside is that in worst case scenario (all keys collide), it can degrade to O(n).
Last updated on Jun 12, 2025
-> The UGC NET June 2025 exam will be conducted from 25th to 29th June 2025.
-> The UGC-NET exam takes place for 85 subjects, to determine the eligibility for 'Junior Research Fellowship’ and ‘Assistant Professor’ posts, as well as for PhD. admissions.
-> The exam is conducted bi-annually - in June and December cycles.
-> The exam comprises two papers - Paper I and Paper II. Paper I consists of 50 questions and Paper II consists of 100 questions.
-> The candidates who are preparing for the exam can check the UGC NET Previous Year Papers and UGC NET Test Series to boost their preparations.