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 |
When should structures be passed by values or by references?
what is diffrence between linear and binary search in array respect to operators?what kind of operator can be used in both seach methods?
How many identifiers are there in c?
The % symbol has a special use in a printf statement. How would you place this character as part of the output on the screen?
All technical questions
What is unary operator?
c language interview questions & answer
What is the size of array float a(10)?
pointer_variable=(typecasting datatype*)malloc(sizeof(datatype)); This is the syntax for malloc?Please explain this,how it work with an example?
2 Answers eClerx, Excel, kenexa,
How can I read in an object file and jump to locations in it?
a memory of 20 bytes is allocated to a string declared as char *s then the following two statements are executed: s="Etrance" l=strlen(s); what is the value of l ? a.20 b.8 c.9 d.21
Define circular linked list.