Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...

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


Please Help Members By Posting Answers For Below Questions

How do I exit turbo c++?

1077


What is a forward referencing and when should it be used?

1166


What is c++ redistributable?

1236


Keyword mean in declaration?

1063


Can I uninstall microsoft c++ redistributable?

1123


How can I disable the "echo" feature?

1177


What is a flag in c++?

1063


Can you use the function fprintf() to display the output on the screen?

1247


Describe about storage allocation and scope of global, extern, static, local and register variables?

1259


When do we use copy constructors?

1086


Explain the difference between using macro and inline functions?

1128


Define macro.

1096


What do you mean by global variables?

1077


What is the difference between a baller and a reference in C++?

1126


why and when we can declar member fuction as a private in the class?

2079