## Reverse zigzag Traversal of a Binary Tree

Given a Binary Tree, the task is to print the Reverse zigzag Order of the tree. Examples: Input: 1 / \ 2 3 / \… Read More »

- Zig Zag Level order traversal of a tree using single queue
- Convert a String to Integer Array in C/C++
- Search a node in Binary Tree
- Sum of the nodes of a Singly Linked List
- Find an element in an array such that elements form a strictly decreasing and increasing sequence
- Delete all the even nodes from a Doubly Linked List
- Insertion at Specific Position in a Circular Doubly Linked List
- Reverse zigzag Traversal of a Binary Tree
- Level Order Predecessor of a node in Binary Tree
- Find the product of last N nodes of the given Linked List
- Sum and Product of the nodes of a Circular Singly Linked List which are divisible by K
- Level Order Successor of a node in Binary Tree
- Product of the nodes of a Singly Linked List
- Print all the levels with odd and even number of nodes in it | Set-2
- Print nodes of linked list at given indexes
- Delete all the nodes from a doubly linked list that are smaller than a given value
- Sum of all nodes in a doubly linked list divisible by a given number K
- Find column with maximum sum in a Matrix
- Sum of alternate elements of a N x N matrix
- Coefficient of Range in a Binary Tree
- Find row with maximum sum in a Matrix
- Sum and Product of the nodes of a Singly Linked List which are divisible by K
- Update adjacent nodes if the current node is zero in a Singly Linked List
- Queries for DFS of a subtree in a tree
- Print sum of matrix and its mirror image

Given a Binary Tree, the task is to print the Reverse zigzag Order of the tree. Examples: Input: 1 / \ 2 3 / \… Read More »

Given a linked list. The task is to change the value of the previous and next node of a node to 0 if the current… Read More »

Given a Binary Tree, the task is to find the Coefficient of Range in it. Range is defined as the difference between the maximum and… Read More »

Given a binary tree and a node in the binary tree, find Levelorder successor of the given node. That is, the node that appears after… Read More »

Given a binary tree and a node in the binary tree, find Levelorder Predecessor of the given node. That is, the node that appears before… Read More »

Given an N-ary tree, print all the levels with odd and even number of nodes in it. Examples: For example consider the following tree 1… Read More »

You are given a matrix of order N*N. The task is to find the resultant matrix by adding the mirror image of given matrix with… Read More »

Given a Binary Node and a node. The task is to search and check if the given node exits in the binary tree or not.… Read More »

Given a singly circular linked list. The task is to find the sum and product of nodes which are divisible by K of the given… Read More »

Given a singly linked list which is sorted in ascending order and another singly linked list which is unsorted. The task is to print the… Read More »

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 »