Coding Topic
Binary Tree OA Questions
Practice 106+ Binary Tree coding questions from real online assessments. Filter by company, solve in the OAHelper editor, and prepare for company-wise OAs.
QuestionCompanyDifficulty
Heaviest Root-to-Leaf LeavesgoogleMediumGrandparent Divisible by SixamazonEasyLevel Order Traversal of a Binary TreekkrMediumMinimum Root-to-Leaf Path with a Target SumcitadelMediumMaximum Path Value in a Treegoldman sachsMediumSuper Nodes by Child Digit SumsflipkartMediumBuild a BST and Print Its Inorder TraversalpocketfmEasyBeautiful Nodes in a Path-Encoded Binary TreepocketfmMediumMinimum Cameras to Monitor a Binary TreethoughtspotHardBiggest Perfect Subtree After Removing Nodesamerican expressMediumMaximum Task Force ImpactphonepeMediumCousin Sum RewriteamazonMediumMinimum Sum Root-to-Leaf PathmetaMediumFirst Common Ancestor in a Parent-Array TreemetaMediumLeaf Sum of a Path-Built Binary TreepocketfmMediumK-th Node Value in Level NphonepeMediumGreater Sum TreeAppleMediumRe-Serialize a Binary Tree in PreordersamsungMediumGreater Sum Tree of a Sensor Reading BSTappleMediumPreorder of the Parent-Dominant Tree from Its InorderflipkartMediumMarathon Checkpoint JunctionsflipkartMediumParent Nodes of a Modified Array TreeflipkartEasyLowest Common Ancestor (LCA) of a Binary TreehireproMediumBalanced Nodes in a Binary TreehireproMediumPlant Root Food SearchhsbcMediumIdeal PathbnyHardMarathon Route CheckpointsdeloitteMediumData CompressionjoveoMediumData CompressionjoveoMediumData CompressionjoveoMediumRecover Binary Search TreemedianetHardQuestion 1ibmMediumSuper NodemastercardMediumDistance of closest leaf from given node in Binary TreeboeingMediumSum of Last Numbers from Completely Filled LevelsmtxEasyPrefix Codes: Tree Construction, Decoding, and AnalysisjoveoMediumValid BST PermutationsoracleMediumSum all nodesgoogleMediumLast Number from Completely Filled LevelsmoneyviewEasyFind Swapped Nodes in BSTmedianetMediumBinary Tree Path Sum CalculationflipkartMediumUpdate Nodes at K Distancede shawHardRecover Binary Search TreemedianetHardBST Leaf Nodes after OperationsaccoliteMediumSum of Palindromes in Binary TreestatestreetMediumFestival of Spirits - Eywa's FestivalaccoliteMediumTrees: Strings on treeshitachiMediumSum of Magic NodesstatestreetMediumFestival of Spirits - Eywa's FestivalaccoliteMediumLast Element of Each Level in an Almost Complete Binary Treebank of australiaEasy