Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
15 changes: 15 additions & 0 deletions linked list all.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -54,6 +54,7 @@ void insert_beg_d()
getch();
doubly();
}

void insert_end_d()
{
int data;
Expand Down Expand Up @@ -86,6 +87,7 @@ void insert_end_d()
getch();
doubly();
}

void insert_ind_d()
{
int data;
Expand Down Expand Up @@ -130,6 +132,7 @@ void insert_ind_d()
getch();
singly();
}

void del_beg_d()
{
node *temp;
Expand All @@ -148,6 +151,7 @@ void del_beg_d()
getch();
doubly();
}

void del_end_d()
{
node *temp;
Expand Down Expand Up @@ -175,6 +179,7 @@ void del_end_d()
getch();
doubly();
}

void del_ind_d()
{
int ind;
Expand Down Expand Up @@ -234,6 +239,7 @@ void rev_d()
getch();
doubly();
}

void printi_d()
{
node *temp;
Expand Down Expand Up @@ -277,6 +283,7 @@ void insert_beg()
getch();
singly();
}

void insert_end()
{
int data;
Expand Down Expand Up @@ -307,6 +314,7 @@ void insert_end()
getch();
singly();
}

void insert_ind()
{
int data;
Expand Down Expand Up @@ -367,6 +375,7 @@ void del_beg()
getch();
singly();
}

void del_end()
{
node *temp;
Expand Down Expand Up @@ -398,6 +407,7 @@ void del_end()
getch();
singly();
}

void del_ind()
{
int ind;
Expand Down Expand Up @@ -433,6 +443,7 @@ void del_ind()
getch();
singly();
}

void rev()
{
node *temp = NULL;
Expand Down Expand Up @@ -460,6 +471,7 @@ void rev()
getch();
singly();
}

void printi()
{
node *temp;
Expand All @@ -480,6 +492,7 @@ void printi()
getch();
singly();
}

void singly()
{
system("cls");
Expand Down Expand Up @@ -520,6 +533,7 @@ void singly()
break;
}
}

void doubly()
{
system("cls");
Expand Down Expand Up @@ -560,6 +574,7 @@ void doubly()
break;
}
}

int main()
{

Expand Down
12 changes: 12 additions & 0 deletions stack and queue.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -66,6 +66,7 @@ void stck_del_arr()
getch();
stck();
}

void stck_print()
{
system("cls");
Expand All @@ -91,6 +92,7 @@ void stck_print()
getch();
stck();
}

void stck()
{
system("cls");
Expand Down Expand Up @@ -139,6 +141,7 @@ void que_ins_arr()
getch();
que();
}

void que_del_arr()
{
system("cls");
Expand All @@ -156,6 +159,7 @@ void que_del_arr()
getch();
que();
}

void que_print()
{
system("cls");
Expand All @@ -169,6 +173,7 @@ void que_print()
getch();
que();
}

void que()
{
system("cls");
Expand All @@ -193,6 +198,7 @@ void que()
break;
}
}

void stck_ins_list()
{
system("cls");
Expand All @@ -217,6 +223,7 @@ void stck_ins_list()
getch();
stck_list();
}

void stck_del_list()
{
system("cls");
Expand All @@ -235,6 +242,7 @@ void stck_del_list()
getch();
stck_list();
}

void stck_print_list()
{
system("cls");
Expand Down Expand Up @@ -286,6 +294,7 @@ void stck_list()
break;
}
}

void que_ins_list()
{
system("cls");
Expand All @@ -310,6 +319,7 @@ void que_ins_list()
getch();
que_list();
}

void que_del_list()
{
system("cls");
Expand Down Expand Up @@ -342,6 +352,7 @@ void que_del_list()
getch();
que_list();
}

void que_print_list()
{
system("cls");
Expand Down Expand Up @@ -390,6 +401,7 @@ void que_list()
break;
}
}

int main()
{

Expand Down