Is double link list a linear data structure? If Yes, Why?If
No, Why?
Answers were Sorted based on User's Feedback
Answer / vinita khandavi
Yes ,
The data are stored in the linear manner in memory..
all Linked list are linear data structures..
Tree, Table, Graph, Hash Table are nonlinear data structures..
| Is This Answer Correct ? | 6 Yes | 4 No |
Answer / kiran
A data structure is said to be linear, if the elements are accessed in sequence. As the nodes of a DLL are accessed in sequence(starting from the first node, one after the other), it is a linear data structure.
| Is This Answer Correct ? | 0 Yes | 0 No |
no,,because in doublelinked list the data is stored
dynamically,we can't acces a data directly without knowing
its base address
| Is This Answer Correct ? | 1 Yes | 7 No |
What is pass by value in c?
How to write a C program to determine the smallest among three nos using conditional operator?
In this problem you are to write a program that will cut some number of prime numbers from the list of prime numbers between 1 and N.Your program will read in a number N; determine the list of prime numbers between 1 and N; and print the C*2 prime numbers from the center of the list if there are an even number of prime numbers or (C*2)-1 prime numbers from the center of the list if there are an odd number of prime numbers in the list.
#‎include‬<stdio.h> void main() { int i; for(i=5;0;i++) { printf("%d",i); } }
code snippet for creating a pyramids triangle ex 1 2 2 3 3 3
Define VARIABLE?
What is a void pointer? When is a void pointer used?
char ch=10;printf("%d",ch);what is the output
What does printf does?
What is a dynamic array in c?
Program to find larger of the two numbers without using if-else,while,for,switch
Juxtapose the use of override with new. What is shadowing?