1.

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 arrayThis question is from Types of Lists in chapter Types of Lists of Data Structures & Algorithms II had been asked this question by my college director while I was bunking the class.

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.



Discussion

No Comment Found

Related InterviewSolutions