Tag: DS
Queue Implementation using Array
Queue Implementation using Array
// C Program to Implement a Queue using an Array
#include <stdio.h>
#include <stdlib.h>
#define MAX 20
void insert();
void delete ();
void display();
int queue_array;
int rear =...
Doubly Linked List
Doubly Linked List
Problem Statement: Write a Menu driven program for Doubly Linked List with following functionality-
i. Insert node at Beginning
ii. Insert node at End
iii....
Move last element to front of a given Linked List
Move last element to front of a given Linked List
Problem statement: Given a Singly linked list, move the last element to the front of...
Circular Linked List
In Circular Linked list any node can be the starting point.
The last node points to the head node. It can be used in understanding...
Split nodes of a linked list into two halves
Split nodes of a linked list into two halves
Problem statement: Given a linked list split it into two halves, front and back. If the...