From 565eee2a69ddc4613cbf1d42beca3209a5548e1f Mon Sep 17 00:00:00 2001 From: SAM <73647831+samhackathon@users.noreply.github.com> Date: Tue, 31 Oct 2023 13:30:00 +0500 Subject: [PATCH] Delete linkedlist.cpp --- linkedlist.cpp | 46 ---------------------------------------------- 1 file changed, 46 deletions(-) delete mode 100644 linkedlist.cpp diff --git a/linkedlist.cpp b/linkedlist.cpp deleted file mode 100644 index 38f0949a9df..00000000000 --- a/linkedlist.cpp +++ /dev/null @@ -1,46 +0,0 @@ -#include -using namespace std; -class node{ - public: - int data; - node* next; - node(int d){ - data=d; - next=NULL; - - } -}; -void InsertatFront(node* &head,node* &tail,int d){ - node *n=new node(d); - if(head==NULL){ - head=tail=n; - } - else{ - n->next=head; - head=n; - - } - - -} -void printLL(node *head){ - while(head!=NULL){ - cout<data<<">>"; - head=head->next; - } - cout<<"NULL"<