## Sum and Product of the nodes of a Singly Linked List which are divisible by K

Given a singly linked list. The task is to find the sum and product of all of the nodes of the given linked list which… Read More »

- Delete Nth node from the end of the given linked list
- Create new linked list from two given linked list with greater element at each node
- Count duplicates in a given linked list
- Find the node with minimum value in a Binary Search Tree using recursion
- Remove Nth node from end of the Linked List
- Find the balanced node in a Linked List
- Create a linked list from two linked lists by choosing max element at each position
- Traverse Linked List from middle to left-right order using recursion
- Print all the peaks and troughs in an Array of Integers
- Print all the sub diagonal elements of the given square matrix
- Maximum sum of the array after dividing it into three segments
- Print all the super diagonal elements of the given square matrix
- Compare sum of first N-1 elements to Nth element of an array

Given a singly linked list. The task is to find the sum and product of all of the nodes of the given linked list which… Read More »

Given a linked list and a number N. Find the product of last n nodes of the linked list. Constraints : 0 <= N <=… Read More »

Given a singly linked list. The task is to find the product of all of the nodes of the given linked list. Examples: Input :… Read More »

Given an NxN matrix. The task is to find the sum of the alternate elements of the given matrix. For example, in a 2 x… Read More »

Given a N*N matrix. The task is to find the index of column with maximum sum. That is the column whose sum of elements are… Read More »

Given an N*N matrix. The task is to find the index of a row with the maximum sum. That is the row whose sum of… Read More »

Given an array of positive integers, the task is to find a point/element up to which elements form a strictly decreasing sequence first followed by… Read More »

Given a doubly linked list containing N nodes, the task is to delete all the even nodes from the list. Examples: Input: Initial List =… Read More »

Given a doubly linked list containing N nodes and given a number K. The task is to find the sum of all such nodes which… Read More »

Given a doubly linked list containing N nodes and a number K, the task is to delete all the nodes from the list that are… Read More »

Write a function to print spiral order traversal of a tree. For below tree, function should print 1, 2, 3, 4, 5, 6, 7. Recommended:… Read More »

Given a singly linked list. The task is to find the sum of nodes of the given linked list. Task is to do A +… Read More »

Given a string str containing numbers separated with “, “. The task is to convert it into an integer array and find the sum of… Read More »

Prerequisite: Insert Element Circular Doubly Linked List. Convert an Array to a Circular Doubly Linked List. Given the start pointer pointing to the start of… Read More »

Given a tree of N nodes and N-1 edges. The task is to print the DFS of the subtree of a given node for multiple… Read More »