Discover
Questions library
Collections library
Find online teacher
login
Discover
questions library
Find online teacher
login
Popular searches:
if-else
class-diagram
flowchart
Polymorphism
Home
Questions
Questions
Study lists
mahmoud Questions
3502 Questions
Given a binary tree, and two node values your task is to find the minimum distance between them
C++ programming
2022-04-30
Answers
30
Question
40
Followers
30
0
1
396
Given a binary tree, where every node value is a number between 0-9. Find the sum of all the numbers which are formed from root to leaf paths
C++ programming
2022-04-30
Answers
30
Question
40
Followers
30
0
1
363
Given a Binary Tree of size N, write a program that prints all the possible paths from root node to the all the leaf node\'s of the binary tree
C++ programming
2022-04-30
Answers
30
Question
40
Followers
30
0
1
372
Given a Binary Tree and a target key, write a function that prints all the ancestors of the key in the given binary tree
C++ programming
2022-04-30
Answers
30
Question
40
Followers
30
0
1
370
Given a binary tree, print the bottom view from left to right
C++ programming
2022-04-30
Answers
30
Question
40
Followers
30
0
1
394
Given a string that contains ternary expressions. The expressions may be nested. You need to convert the given ternary expression to a binary Tree and return the root
C++ programming
2022-04-30
Answers
30
Question
40
Followers
30
0
1
339
Given a Binary Search Tree and 2 nodes value n1 and n2, your task is to find the lowest common ancestor of the two nodes. Assume that n1 and n2 both existing node value of the tree
C++ programming
2022-04-30
Answers
30
Question
40
Followers
30
0
1
337
Given a Binary Tree, Print the corner nodes at each level. The node at the leftmost and the node at the rightmost
C++ programming
2022-04-30
Answers
30
Question
40
Followers
30
0
1
436
Given a binary tree, print the diagonal traversal of the binary tree
C++ programming
2022-04-30
Answers
30
Question
40
Followers
30
0
1
477
Write a program to print Reverse Level Order Traversal of a binary tree
C++ programming
2022-04-30
Answers
30
Question
40
Followers
30
0
1
371
Given a BST and a value x, write a function to delete the nodes having values greater than or equal to x. The function will return the modified root
C++ programming
2022-04-30
Answers
30
Question
40
Followers
30
0
1
465
Given a Binary Tree, find diameter of it. The diameter of a tree is the number of nodes on the longest path between two leaves in the tree
C++ programming
2022-04-30
Answers
30
Question
40
Followers
30
0
1
480
Given a Binary Tree, print Right view of it. Right view of a Binary Tree is set of nodes visible when tree is visited from Right side
C++ programming
2022-04-30
Answers
30
Question
40
Followers
30
0
1
422
Total:
3502
Previous
257
258
259
260
261
Next
Go