ProDeveloperTutorial.com
  • DSA
    • Algorithms and Data Structures Tutorial
    • Crack The Coding Interview (DSA Sheet)
    • ProDeveloperTutorial – Selected Competitive Programming Questions for Interview
    • System Design Tutorial
  • Coding Languages
    • C++ Tutorial
    • C language Tutorial
    • Linux Shell Scripting Tutorial
    • GIT Tutorial
    • Linux System Calls Tutorials
  • Protocols
    • 4G
    • 5G

ProDeveloperTutorial.com

  • DSA
    • Algorithms and Data Structures Tutorial
    • Crack The Coding Interview (DSA Sheet)
    • ProDeveloperTutorial – Selected Competitive Programming Questions for Interview
    • System Design Tutorial
  • Coding Languages
    • C++ Tutorial
    • C language Tutorial
    • Linux Shell Scripting Tutorial
    • GIT Tutorial
    • Linux System Calls Tutorials
  • Protocols
    • 4G
    • 5G
ProDeveloperTutorial.com

What are You Looking For?

  • Coding Interview Questions
  • C++ Tutorial
  • 5G NR
  • DataStructure and Algorithms
ProDeveloperTutorial
onAugust 30, 2026

Binary Tree: Given a binary tree, invert it

Problem Statement Given a binary tree, invert it Example: Input: /* * 10 * / \ * 8 12 * / \ / \ * 2 9 11 14 */ Output: /* * 10 * / \ * 12 8 *…
Discover More
ProDeveloperTutorial
onAugust 30, 2026

Binary Tree: Given a binary tree and two nodes, check if they are cousins

Problem Statement: Given a binary tree and two nodes, check if they are cousins Example: Input: /* * 10 * / \ * 8 12 * / \ / \ * 2 9 11 14 */…
Discover More
ProDeveloperTutorial
onAugust 30, 2026

Binary Tree: Given two trees, check if the tree is subtree of another tree

Problem Statement: Given two trees, check if the tree is subtree of another tree. Example: Input: /* * 10 * / \ * 8 12 * / \ / \ * 2 9 11 14…
Discover More
ProDeveloperTutorial
onAugust 30, 2026

Binary Tree: Given a binary tree, check if there is duplicate subtree and return the duplicate subtree

Problem Statement: You are given a root of a subtree, you need to return all the duplicate subtrees You need to return the root of each…
Discover More
ProDeveloperTutorial
onAugust 30, 2026

Binary Tree: Given a binary tree, check if duplicate values are present

Problem Statement: Given a binary tree, check if duplicate values are present Example: Input: /* * 10 * / \ * 8 10 * / \ / \ * 2 9 11 14 */…
Discover More
ProDeveloperTutorial
onAugust 30, 2026

Binary Tree: Given a binary tree, check if the tree is a children sum property

Problem Statement: Given a binary tree, check if the tree is a children sum property . Meaning, each root is a sum of its immediate two…
Discover More
ProDeveloperTutorial
onAugust 30, 2026

Binary Tree: Given a binary tree and a target, burn it

Problem Statement: Given a binary tree and a target, burn it. Below is the burning sequence. Fire will spread to the connected nodes. Each…
Discover More
ProDeveloperTutorial
onAugust 30, 2026

Binary Tree: Given a binary tree and a target, delete leaf nodes having value target

Problem Statement: Given a binary tree and a target, delete leaf nodes having value target Example: Input: /* * 10 * / \ * 8 12 * / \ / \ * 2…
Discover More
ProDeveloperTutorial
onAugust 30, 2026

Binary Tree: Given a binary tree, find the maximum path sum between two leaves

Problem Statement: Given a binary tree, find the maximum path sum between two leaves. Solution Explanation: The solution needs to consider any…
Discover More
ProDeveloperTutorial
onAugust 30, 2026

Binary Tree: Given a binary tree and a value k, print all the nodes at distance k

Problem Statement: You are given a binary tree and a target node and a value k. You need to find all the nodes at a distance k from the given…
Discover More

Posts pagination

Previous 1 … 29 30 31 … 129 Next
ProDeveloperTutorial.com
Tutorials and Programming Solutions
  • DSA
    • Algorithms and Data Structures Tutorial
    • Crack The Coding Interview (DSA Sheet)
    • ProDeveloperTutorial – Selected Competitive Programming Questions for Interview
    • System Design Tutorial
  • Coding Languages
    • C++ Tutorial
    • C language Tutorial
    • Linux Shell Scripting Tutorial
    • GIT Tutorial
    • Linux System Calls Tutorials
  • Protocols
    • 4G
    • 5G
© 2024 — ProDeveloperTutorial. All Rights Reserved.