Is double link list a linear data structure? If Yes, Why?If
No, Why?
Answer Posted / 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 |
Post New Answer View All Answers
what are the different storage classes in c?
What is the Purpose of 'extern' keyword in a function declaration?
Differentiate between new and malloc(), delete and free() ?
Explain how do you use a pointer to a function?
Given only putchar (no sprintf, itoa, etc.) write a routine putlong that prints out an unsigned long in decimal. [ I gave the obvious solution of taking % 10 and / 10, which gives us the decimal value in reverse order. This requires an array since we need to print it out in the correct order. The interviewer wasn't too pleased and asked me to give a solution which didn't need the array ].
Define Array of pointers.
Do pointers take up memory?
Write a program to swap two numbers without using third variable?
Write a code to generate divisors of an integer?
How do I round numbers?
how could explain about job profile
Is a house a shell structure?
What is the purpose of void in c?
How do we make a global variable accessible across files? Explain the extern keyword?
Write the Program to reverse a string using pointers.