Check if a linked list of strings forms a palindrome

Each node represents strings in a given linked list.Now the query is,whether linked list of strings form’s palindrome or not ? By Defination String is a palindrome if the reverse of that string is equal to the original string.I believe in giving examples than more explanation. Let’s Get an idea by going through the 5 Examples. Example 1: Input:- T… Read More »

Check if a linked list is Circular Linked List

What is Linked List: Each node points next node in a list.Here node means,it contains data and address of the next node in the list. What is the node here ? A node is simple data structure,it contains two elements Value,it contains. Address of next node stored in node. How normal Linked list looks like ? Every node… Read More »