摘要: Given a binary tree, count the number of uni-value subtrees. A Uni-value subtree means all nodes of the subtree have the same value. Example : Input: 阅读全文
posted @ 2020-01-14 11:38 xuan_abc 阅读(126) 评论(0) 推荐(0)
摘要: Design a class which receives a list of words in the constructor, and implements a method that takes two words word1 and word2 and return the shortest 阅读全文
posted @ 2020-01-14 11:09 xuan_abc 阅读(123) 评论(0) 推荐(0)