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 a number K. Print all nodes that are at distance K from root (root is considered at distance 0 from itself)
C++ programming
2022-04-30
Answers
30
Question
40
Followers
30
0
1
444
Given an expression tree evaluate the expression tree
C++ programming
2022-04-30
Answers
30
Question
40
Followers
30
0
1
452
Write a function to detect if two trees are isomorphic
C++ programming
2022-04-30
Answers
30
Question
40
Followers
30
0
1
439
Given a Binary Tree, write a function getLevelDiff which returns the difference between the sum of nodes at odd level and the sum of nodes at even level
C++ programming
2022-04-30
Answers
30
Question
40
Followers
30
0
1
473
Given an array where elements are sorted in ascending order, convert it to a height balanced BST. For this problem, a height-balanced binary tree is defined as a binary tree in which the depth of the two subtrees of every node never differ by more than 1
C++ programming
2022-04-30
Answers
30
Question
40
Followers
30
0
1
525
Given a binary Tree, check whether the tree is symmetric or not
C++ programming
2022-04-30
Answers
30
Question
40
Followers
30
0
1
470
Given a Binary Tree where each node has positive and negative values. Convert this to a tree where each node contains the sum of the left and right sub trees in the original tree. The values of leaf nodes are changed to 0
C++ programming
2022-04-30
Answers
30
Question
40
Followers
30
0
1
489
Given a Two Binary Trees, write a function that returns true if one is mirror of other, else returns false
C++ programming
2022-04-30
Answers
30
Question
40
Followers
30
0
1
435
Given a Binary Tree write a program to print the nodes which don’t have a sibling node. Print all the nodes separated by space which do not have sibling in the tree in sorted order if every node has a tree than print -1
C++ programming
2022-04-30
Answers
30
Question
40
Followers
30
0
1
799
Given a Binary Tree T and a sum S, write a program to check whether there is a root to leaf path in that tree with the input sum S
C++ programming
2022-04-30
Answers
30
Question
40
Followers
30
0
1
534
Print Boundary Sum of a Binary Tree
C++ programming
2022-04-30
Answers
30
Question
40
Followers
30
0
1
447
Print vertical sum of a binary tree
C++ programming
2022-04-30
Answers
30
Question
40
Followers
30
0
1
503
Check whether a Binary Tree is BST (Binary Search Tree) or not
C++ programming
2022-04-30
Answers
30
Question
40
Followers
30
0
1
358
Total:
3502
Previous
258
259
260
261
262
Next
Go