TongTong Shi's Blog
A Playground to Share My Knowledge
Video Stitching Video Stitching
LeetCode Q 1024 - Video StitchingYou are given a series of video clips from a sporting event that lasted T seconds. The
2019-08-07 Tong Shi
Matrix Cells in Distance Order Matrix Cells in Distance Order
LeetCode Q 1030 - Matrix Cells in Distance OrderWe are given a matrix with R rows and C columns has cells with integer c
2019-08-07 Tong Shi
Convert BST to Greater Tree Convert BST to Greater Tree
LeetCode Q 538 - Convert BST to Greater TreeGiven a Binary Search Tree (BST), convert it to a Greater Tree such that eve
2019-08-07 Tong Shi
Diameter of Binary Tree Diameter of Binary Tree
LeetCode Q 543 - Diameter of Binary TreeGiven a binary tree, you need to compute the length of the diameter of the tree.
2019-08-07 Tong Shi
Binary Tree Tilt Binary Tree Tilt
LeetCode Q 563 - Binary Tree TiltGiven a binary tree, return the tilt of the whole tree.The tilt of a tree node is defin
2019-08-07 Tong Shi
Subtree of Another Tree Subtree of Another Tree
LeetCode Q 572 - Subtree of Another TreeGiven two non-empty binary trees s and t, check whether tree t has exactly the s
2019-08-07 Tong Shi
6 / 79