Category Archives: Programming

Linked List in C – Check whether Linked List is Palindrome using Stack

Linked List in C - Check whether Linked List is Palindrome using Stack

Linked List in C – Check whether Linked List is Palindrome using Stack

Linked List in C - Check whether Linked List is Palindrome using Stack

DATA STRUCTURES IN C – LINKED LIST (20 PROGRAMS) Try DATA STRUCTURES IN C – LINKED LIST (20 PROGRAMS) Linked List in C – Check whether Linked List is Palindrome using Stack : Source Code : #include<stdio.h> struct node { int data; struct node *next; }; void print(struct node **head) { struct node *temp=*head; printf(“\nList:”); while(temp!=NULL)… Read More »

Linked List in C- Check whether Linked List is Palindrome using Recursion

Linked List in C- Check whether Linked List is Palindrome using Recursion

Linked List in C- Check whether Linked List is Palindrome using Recursion

Linked List in C- Check whether Linked List is Palindrome using Recursion

DATA STRUCTURES IN C – LINKED LIST (20 PROGRAMS) Try DATA STRUCTURES IN C – LINKED LIST (20 PROGRAMS) Linked List in C- Check whether Linked List is Palindrome using Recursion : Source Code : #include<stdio.h> struct node { int data; struct node *next; }; void print(struct node **head) { struct node *temp=*head; printf(“\nList:”); while(temp!=NULL) {… Read More »

Linked List in C- Reversing Every N Nodes of Linked List using Recursion

Linked List in C- Reversing Every N Nodes of Linked List using Recursion

Linked List in C- Reversing Every N Nodes of Linked List using Recursion

Linked List in C- Reversing Every N Nodes of Linked List using Recursion

DATA STRUCTURES IN C – LINKED LIST (20 PROGRAMS) Try DATA STRUCTURES IN C – LINKED LIST (20 PROGRAMS) Linked List in C- Reversing Every N Nodes of Linked List using Recursion : Input: 1->2->3->4->5->6->7->8 Output: 3->2->1->6->5->4->8->7 Source Code : #include<stdio.h> struct node { int data; struct node *next; }; struct node* reverse(struct node **head,int N) { struct… Read More »