## Split linked list using alternate nodes

Given a linked list, you need to split it into two linked lists with alternate elements in each of them. …

Given a linked list, you need to split it into two linked lists with alternate elements in each of them. …

Write a program to Create a doubly linked list A double linked list contains an extra pointer to its previous …

Level order traversal or breadth first traversal is traversing the same level nodes of a tree then move to next …

Total number of nodes in a binary tree is known as a size of a tree. We have to write …

Read moreJava program to find the number of Nodes in a Binary Tree

This is one of the mostly asked question during interviews. Here interviewer loves to see linear algorithmic approach of yours. …

Array is the sequential collection of similar elements. Array is a fixed size data structure. Arrays can be accessed by …

Given an array of integers (positive and negative numbers) and you have to find a triplet (3 elements) in array …

Read moreFind a triplet in array whose sum is equal to zero or given number

Write a program to find a pair sum in array equal to given input number. Pair sum equal to a …

Read moreFind elements pair from array whose sum equal to number