You are here:

C/data structure

Advertisement


Question
a pointer of a node present in between a single link list is given. no start pointer is given. we have to delete this node so wht we have to do?

Answer
Hi Tp

This is impossible, people might ask you this question to test your level of confidence. if you need to delete the nth node then n-1th node must point to the n+1th node but since you having the address of only the nth node its next to impossible to find the address of the n-1th node.

regards
Joydeep Bhattacharya
http://www.scodz.com

C

All Answers


Answers by Expert:


Ask Experts

Volunteer


Joydeep Bhattacharya

Expertise

Ability to solve C and Data Structure problems and puzzles with simple and easy to understand logic.

Experience

C, C++, Java, Data Structure, PHP, Web Designing

Organizations
http://www.scodz.com Designation: webmaster

Publications
http://www.scodz.com

Education/Credentials
Master of Computer Applications

Past/Present Clients
http://analysingc.50webs.com http://www.funforu.com

©2012 About.com, a part of The New York Times Company. All rights reserved.