摘要: Easy A binary tree is univalued if every node in the tree has the same value. Return true if and only if the given tree is univalued. Example 1: Examp 阅读全文
posted @ 2019-09-24 16:42 程嘿嘿 阅读(159) 评论(0) 推荐(0) 编辑
摘要: Easy A website domain like "discuss.leetcode.com" consists of various subdomains. At the top level, we have "com", at the next level, we have "leetcod 阅读全文
posted @ 2019-09-24 16:17 程嘿嘿 阅读(234) 评论(0) 推荐(0) 编辑
摘要: Easy The Fibonacci numbers, commonly denoted F(n) form a sequence, called the Fibonacci sequence, such that each number is the sum of the two precedin 阅读全文
posted @ 2019-09-24 11:22 程嘿嘿 阅读(175) 评论(0) 推荐(0) 编辑
摘要: Easy Given an array of distinct integers arr, find all pairs of elements with the minimum absolute difference of any two elements. Return a list of pa 阅读全文
posted @ 2019-09-24 10:41 程嘿嘿 阅读(354) 评论(0) 推荐(0) 编辑