AniketTheProgrammer
Home
(current)
Courses
Projects
YT Projects
Coding Questions
Notification
Contact Us
Log In
All Topics
C Language
C++ Language
Greedy Algorithm
Hashing
Java Language
Linked List
Python
Queue
Stack
String
Sorting
Searching
Recursion
Backtracking
Dynamic Programming
Graph Theory
Bit Manipulation
Mathematics
Sliding Window Technique
Divide And Conquer
Matrix Manipulation
Two Pointers
Binary Tree
Topic: Binary-tree-question / Level: Advanced
401. Implement a function to check if two binary trees are structurally identical.
402. Write a program to find the height of a binary tree using recursion.
403. Create a function to convert a binary tree to a doubly linked list.
404. Write a program to print all the nodes at a given level in a binary tree.
405. Implement a function to find the diameter of a binary tree.
406. Write a program to find the maximum path sum in a binary tree.
407. Create a function to check if a binary tree is a binary search tree (BST).
408. Write a program to find the kth smallest element in a binary search tree.
409. Implement a function to print the boundary nodes of a binary tree.
410. Write a program to count the total number of nodes in a binary tree.
411. Create a function to find the lowest common ancestor (LCA) of two nodes in a binary tree.
412. Write a program to flatten a binary tree to a linked list.
413. Implement a function to perform a level-order traversal of a binary tree.
414. Write a program to invert a binary tree.
415. Create a function to serialize and deserialize a binary tree.
416. Write a program to find the maximum depth of a binary tree.
417. Implement a function to check if a binary tree is symmetric.
418. Write a program to find all the root-to-leaf paths in a binary tree.
419. Create a function to count the number of leaf nodes in a binary tree.
420. Write a program to find all the ancestors of a given node in a binary tree.
421. Implement a function to find the total number of internal nodes in a binary tree.
422. Write a program to find the first non-repeating character in a binary tree.
423. Create a function to check if a binary tree is balanced.
424. Write a program to determine if a binary tree is a complete binary tree.
425. Implement a function to find the sum of all the nodes in a binary tree.
426. Write a program to find the level of a given node in a binary tree.
427. Create a function to find the right view of a binary tree.
428. Write a program to find the left view of a binary tree.
429. Implement a function to find the vertical order traversal of a binary tree.
430. Write a program to check if a binary tree is a subtree of another binary tree.
Previous
1
2
3
4
5
6
7
Next
More Levels
Beginner
Intermediate
Most Visited
Implement a binary tree and display its structure.
Write a program to find the minimum sum of a path from root to leaf in a binary search tree with specific properties.
Write a program to find the total number of nodes in a binary search tree that are greater than a specific value and have specific properties and values.
Write a program to find the minimum sum of a path from root to leaf in a binary search tree with specific properties and values.
Write a program to find all the leaf-to-leaf paths in a binary tree with specific properties.
Implement a function to find all nodes at a given depth in a binary tree with specific properties.
Implement a function to check if a binary search tree has any nodes with even values and properties.
Write a program to check if a binary search tree is height-balanced with specific properties and values.
Write a program to find all nodes in a binary search tree that are leaves with specific properties and values.
Write a program to check if a binary search tree has any nodes with odd values and specific properties.
Write a program to check if a binary search tree is height-balanced with specific properties.
Write a program to find the total number of nodes in a binary tree that have even values and specific properties.
Write a program to find all nodes that are internal nodes in a binary search tree with specific properties.
Write a program to find the average value of nodes at each level in a binary search tree with specific properties.
Write a program to check if a binary search tree has any nodes with odd values and properties.