Posts

Linklist all concepts using Dynamic arrays(using nodes)

Image
  Double Link List (Add and Show nodes) #include <iostream> using namespace std; struct node {     int data;     node* pre, *nxt; }; class Link_List {         node *head, *current;     public:         Link_List()         {             head=current=NULL; // Means at the most link list has no node.         }        void List_Add(int n)         {             node*tempNode;             tempNode=new node;             tempNode->data=n;             tempNode->pre...