TongTong Shi's Blog
A Playground to Share My Knowledge
Maximum Difference Between Node and Ancestor Maximum Difference Between Node and Ancestor
LeetCode Q 1026 - Maximum Difference Between Node and AncestorGiven the root of a binary tree, find the maximum value V
2019-07-15 Tong Shi
Project - Groupbuy App Part IV Project - Groupbuy App Part IV
prev Angular Basics IV - HTTP & AngularIn previous post TODO List Project - Backend Part I, we have introduced the b
2019-07-10 Tong Shi
Recover a Tree From Preorder Traversal Recover a Tree From Preorder Traversal
LeetCode Q 1028 - Recover a Tree From Preorder TraversalWe run a preorder depth first search on the root of a binary tre
2019-07-09 Tong Shi
Cousins in Binary Tree Cousins in Binary Tree
LeetCode Q 993 - Cousins in Binary TreeIn a binary tree, the root node is at depth 0, and children of each depth k node
2019-07-09 Tong Shi
Delete Nodes And Return Forest Delete Nodes And Return Forest
LeetCode Q 1110 - Delete Nodes And Return ForestGiven the root of a binary tree, each node in the tree has a distinct va
2019-07-09 Tong Shi
Corporate Flight Bookings Corporate Flight Bookings
LeetCode Q 1109 - Corporate Flight BookingsThere are n flights, and they are labeled from 1 to n.We have a list of fligh
2019-07-09 Tong Shi
13 / 79