+1 vote
in Data Structures & Algorithms I by (110k points)
Symbol tables during compilation of program is efficiently implemented using __________

(a) a singly linked list

(b) a doubly linked list

(c) a self organizing list

(d) an array

This question is from Types of Lists in chapter Types of Lists of Data Structures & Algorithms I

I had been asked this question by my college director while I was bunking the class.

1 Answer

+1 vote
by (672k points)
selected by
Best answer
The correct answer is (c) a self organizing list

Easy explanation - Self organizing list allows fast sequential search and it is simple to implement and requires no extra storage. Self-organizing list is used to implement the symbol table.

Related questions

Welcome to TalkJarvis QnA, a question-answer community website for the people by the people. On TalkJarvis QnA you can ask your doubts, curiosity, questions and whatever going in your mind either related to studies or others. Experts and people from different fields will answer.