MCQ Answer

The advantage of using linked lists over arrays is that

The advantage of using linked lists over arrays is that

सरणियों पर लिंक की गई सूचियों का उपयोग करने का लाभ यह है कि
Topic : Linked List

A. Linked list is an example of linear data structure

B. Insertion and deletion of an element can be done at any position in a linked list

C. Linked list can be used to store a collection of homogenous and heterogeneous data types

D. The size of a linked list is fixed




Correct Answer is :

B. Insertion and deletion of an element can be done at any position in a linked list



Explanation
Insertion and deletion in a linked list can be done at any position. On the other hand, in an array, to insert an element at a specific position, the rest of the elements have to be moved one position to the left and to delete an element, all the elements after the deleted element have to be moved one position to the right.
CCC Online Test 2021 CCC Practice Test Hindi Python Programming Tutorials Best Computer Training Institute in Prayagraj (Allahabad) Best Java Training Institute in Prayagraj (Allahabad) Best Python Training Institute in Prayagraj (Allahabad) O Level Online Test in Hindi Bank SSC Railway TET UPTET Question Bank career counselling in allahabad Sarkari Naukari Notification Best Website and Software Company in Allahabad Sarkari Exam Quiz