how can u create a doubly linked list with out using
pointers?
Answers were Sorted based on User's Feedback
Answer / ana
by multiple or single array
multiple: 3 arrays(size n) . first array for next, second
for keys and third for prev
single: 3*n size array, elements by triplets - next, key,
prev
| Is This Answer Correct ? | 5 Yes | 0 No |
What is a literal in c++?
What is OOPs
What is the difference between containment and delegation?
What is the fastest c++ compiler?
What does flush do c++?
Difference between inline functions and macros?
What number of digits that can be accuratly stored in a float (based on the IEEE Standard 754)? a) 6 b) 38 c) An unlimited number
What is the object serialization?
Can we remove an element in a single linked list without traversing? Lets suppose the link list is like this 1 2 3 4 5 6 We need to remove 4 from this list (without traversing from beginning) and the final link list shud be 1 2 3 5 6 only thing we know is the pointer to element "4". How can we remove "4" and link "3" to "5"?
What are protected members in c++?
What is the difference between mutex and binary semaphore?
Why is main function important?