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"<