i want an algorithm coding the algorithm is [ADD A NODE IN DOUBLE LINK LIST]
the algorithm is follow.
1- if avail=NULL then
write overflow and exit.
2- [remove node from avail list and copy new data into node]
3- [insert node into list]
4 - EXIT
plz any one send me this algorithm program in c++.as soon as possible this is my assingment i submitted it tomorrow