Posts by Pratyush Gupta

Author Biographical Info: A noob_progammer

C++ program to check if removing an edge can divide a Binary Tree into two halves

By Pratyush Gupta

In this tutorial, we will learn how to check if removing an edge can divide a Binary Tree into two halves. Rather than just getting directly to the solution lets us discuss the bas.... Read More

Minimum swap required to convert binary tree to binary search tree in C++

By Pratyush Gupta

In this tutorial, we will learn how to find out the minimum number of swaps required to convert a binary tree into a binary search tree (BST). We will try to understand the process.... Read More