## Level Order Traversal Line Set 3 Using One Queue

Problem Statement: Given a binary tree, print the nodes level by level or level wise and each level on a new line. Queue A queue is basically a linear data...

## Right View Binary Tree Using Queue

Problem Statement: The problem is straightforward: we have given a binary tree and we have to print the right view of the binary tree. Let's discuss it with an example:...

## Check if a given Binary Tree is Heap

Problem Statement: Given a binary tree, our task is to check whether the given tree follows the max heap property or not. What is a Binary Tree? Binary tree is...

## Overview of data structures binary tree, bst, heap, and hash

Binary Tree: A Binary tree is a tree data structure in which each node has at most two children i.e. the left child and right child. Representation: A binary tree...

## Why is Binary Heap Preferred over BST for Priority Queue?

What is the priority Queue? Basically, Priority queues are abstract data types and are quite similar to queues, however, in the priority queue, there is some priority for every element....

## Convert BST to Min Heap

Problem Statement: In this problem, we will be given a binary search tree and we have to convert the Binary search tree into a min-heap. This condition is applied to...

## Create a Doubly Linked List from the given Ternary Tree

Introduction One of the most crucial data structures to learn while preparing for interviews is the linked list. In a coding interview, having a thorough understanding of Linked Lists might...

## Convert a given Binary Tree To Doubly Linked List | Set 3

Introduction One of the most crucial data structures to learn while preparing for interviews is the linked list. In a coding interview, having a thorough understanding of Linked Lists might...

## Construct a Complete Binary Tree from its Linked List Representation

Introduction The linked list is one of the most important concepts and data structures to learn while preparing for interviews. Having a good grasp of Linked Lists can be a...

## Merge Two Balanced Binary Trees

Introduction The linked list is one of the most important concepts and data structures to learn while preparing for interviews. Having a good grasp of Linked Lists can be a...

## Convert a given Binary Tree to Doubly Linked List

The linked list is one of the most important concepts and data structures to learn while preparing for interviews. Having a good grasp of Linked Lists can be a huge...