摘要: Given a binary tree, determine if it is height-balanced. For this problem, a height-balanced binary tree is defined as: a binary tree in which the dep 阅读全文
posted @ 2018-07-08 16:51 Lin.B 阅读(132) 评论(0) 推荐(0)
摘要: Given two strings S and T, return if they are equal when both are typed into empty text editors. # means a backspace character. Example 1: Input: S = 阅读全文
posted @ 2018-07-08 16:05 Lin.B 阅读(127) 评论(0) 推荐(0)