Skip to content

Instantly share code, notes, and snippets.

View BetelGeuseee's full-sized avatar
🐢

Shirshak Upadhayay BetelGeuseee

🐢
View GitHub Profile
@susanhsrestha
susanhsrestha / InsertionInLinkedList.cpp
Created January 22, 2020 16:37
This program is an implementation of Linked List using C++ and it covers all types of insertion in a singly linked list.
//Implementation of Linked List and Insertion of Elements
#include<iostream>
#include<conio.h>
using namespace std;
struct Node{
int data; // representation of list
Node* next;
};
struct Node* head;
void insertAtHead(int x){