Skip to content

Jd3s/btreeproblems

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

48 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

btreeproblems

Week - 1

  • Check if all leaves are at same level
  • Sum of all nodes in a binary tree
  • Sum of all the parent nodes having child node x
  • Sum of all left leaves in a binary tree
  • Sum of all nodes in a perfect binary tree with last level numbered from 1 to n
  • Diagonal sum of a binary tree
  • Check if removing an edge can divide a Binary Tree in two halves
  • LCA noobie approach
  • Check if two trees are mirrors of eachother
  • Sum of nodes along the longest path from root to leaf
  • Succinct Encoding of binary tree
  • Binary indexed / Fenwick tree
  • Check if given pre, post and inorder traversals are from the same tree - set 1
  • Check if given pre, post and inorder traversals are from the same tree - set 2
  • Level order traversal in spiral form

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages