Tag: recursive algorithms
Teaching Kids Programming: Videos on Data Structures and Algorithms Given a binary tree, determine if it is height-balanced. For this problem, a height-balanced binary tree is defined as: a …
Teaching Kids Programming: Videos on Data Structures and Algorithms You are given an integer k and a binary search tree root, where each node is either a leaf or …
Teaching Kids Programming: Videos on Data Structures and Algorithms Given two binary trees node0 and node1, return a merge of the two trees where each value is equal to …
Teaching Kids Programming: Videos on Data Structures and Algorithms Given a Linked List, remove the nodes with a given value. Remove a Node using Recursion If the head is …
This problem was inspired by this original tweet by Max Howell: Google: 90% of our engineers use the software you wrote (Homebrew), but you can’t invert a binary tree …