Given a linked list containing lowercase English alphabets, the task is to count the number of consonants and vowels present in the linked list. Example:… Read More

# Category Archives: Linked List

Given a string S of size N and a linked list, the task is to check if the linked list contains a string as a… Read More

Given two strings in the form of linked lists, the task is to check if one string is the anagram of the other. Print Yes… Read More

Given two linked lists L1 and L2 in which in every node a string is stored. The task is to check whether the strings combining… Read More

Given a linked list of n nodes which is first sorted, then rotated by k elements. Find the value of k. Recommended: Please try your… Read More

Given a linked list of n nodes which is first sorted, then rotated by k elements. Find the value of k. Recommended: Please try your… Read More

Given a linked list of n nodes which is first sorted, then rotated by k elements. Find the value of k. Recommended: Please try your… Read More

Given a singly linked list, rearrange the list so that even and odd nodes are alternate in the list.There are two possible forms of this… Read More

Given a singly linked list, rearrange the list so that even and odd nodes are alternate in the list.There are two possible forms of this… Read More

Given a singly linked list, rearrange the list so that even and odd nodes are alternate in the list.There are two possible forms of this… Read More

Given a Linked List of length n and block length k rotate in a circular manner towards right/left each block by a number d. If… Read More

Given a Linked List of length n and block length k rotate in a circular manner towards right/left each block by a number d. If… Read More

Given a Linked List of length n and block length k rotate in a circular manner towards right/left each block by a number d. If… Read More