Tutorials
Courses
Data Structure
Java
Python
HTML
Interview Preparation
DSA
Practice Problems
C
C++
Java
Python
JavaScript
Data Science
Machine Learning
Courses
Linux
DevOps
SQL
Web Development
System Design
Aptitude
GfG Premium
Similar Topics
Web Technologies
32.1K+ articles
DSA
19.9K+ articles
Python
19.6K+ articles
Experiences
15.8K+ articles
Interview Experiences
14.1K+ articles
School Learning
11.1K+ articles
JavaScript
9.9K+ articles
Tree
909+ articles
DFS
359+ articles
Binary Tree
330+ articles
Binary Trees Quiz
4 posts
Recent Articles
Popular Articles
Subtree of all nodes in a tree using DFS
Last Updated: 03 November 2022
Given n nodes of a tree and their connections, print Subtree nodes of every node.Subtree of a node is defined as a tree which is a child of a node. The name emphasizes tha...
read more
DSA
DFS
Binary Trees Quiz
Find largest subtree sum in a tree
Last Updated: 11 July 2025
Given a Binary Tree, the task is to find a subtree with the maximum sum in the tree.Examples:Input: Output: 28Explanation: As all the tree elements are positive, the large...
read more
Tree
DSA
Binary Trees Quiz
Find the maximum node at a given level in a binary tree
Last Updated: 11 July 2025
Given a Binary Tree and a Level. The task is to find the node with the maximum value at that given level.The idea is to traverse the tree along depth recursively and retur...
read more
DSA
Binary Tree
DFS
Binary Trees Quiz
Product of all nodes in a Binary Tree
Last Updated: 11 July 2025
Given a Binary Tree. The task is to write a program to find the product of all of the nodes of the given binary tree.In the above binary tree,Product = 15*10*8*12*20*16*25...
read more
Technical Scripter 2018
DSA
Binary Trees Quiz
Tree Traversals
We use cookies to ensure you have the best browsing experience on our website. By using our site, you acknowledge that you have read and understood our
Cookie Policy
&
Privacy Policy
Got It !