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"?
Answer Posted / vishal jagani
yes u can it link list(doubly),....
| Is This Answer Correct ? | 2 Yes | 3 No |
Post New Answer View All Answers
How do I exit turbo c++?
What is a forward referencing and when should it be used?
What is c++ redistributable?
Keyword mean in declaration?
Can I uninstall microsoft c++ redistributable?
How can I disable the "echo" feature?
What is a flag in c++?
Can you use the function fprintf() to display the output on the screen?
Describe about storage allocation and scope of global, extern, static, local and register variables?
When do we use copy constructors?
Explain the difference between using macro and inline functions?
Define macro.
What do you mean by global variables?
What is the difference between a baller and a reference in C++?
why and when we can declar member fuction as a private in the class?