#include <bits/stdc++.h> using namespace std; #define ll long long ll mi,ma,mid,n; ll binary_search(ll b[],ll key) { ll m;...
Read More
Home / data structure
Showing posts with label data structure. Show all posts
Showing posts with label data structure. Show all posts
Linked List Search
#include <stdio.h> struct node { int data; struct node *next; };
Read More
Linked List Delete Data
#include <stdio.h> #include<bits/stdc++.h> using namespace std; struct node { int data; struct node *next; ...
Read More
Linked List Insert (Two Way)
#include <stdio.h> struct node { int data; struct node *next; struct node *prev; };
Read More
Linked List Delete (One Way)
#include <stdio.h> struct node { int data; struct node *next; };
Read More
Linked List Insert (One Way)
#include <stdio.h> struct node { int data; struct node *next; }; int getdata(int n) { struct node *curren...
Read More
Linked List Traverse (Two Way)
#include <stdio.h> struct node { int data; struct node *next; struct node *prev; }; int addnode(int n) { ...
Read More
Linked List Traverse (One Way)
#include <stdio.h> struct node { int data; struct node *next; }; int getdata(int n) { struct node *curre...
Read More
Subscribe to:
Posts
(
Atom
)