02 2018 档案

摘要:Given a Binary Search Tree (BST) with the root node root, return the minimum difference between the values of any two different nodes in the tree. Exa 阅读全文
posted @ 2018-02-11 13:57 immjc 阅读(140) 评论(0) 推荐(0)
摘要:Given the root of a tree, you are asked to find the most frequent subtree sum. The subtree sum of a node is defined as the sum of all the node values 阅读全文
posted @ 2018-02-09 12:21 immjc 阅读(131) 评论(0) 推荐(0)
摘要:Given a list of directory info including directory path, and all the files with contents in this directory, you need to find out all the groups of dup 阅读全文
posted @ 2018-02-09 11:56 immjc 阅读(125) 评论(0) 推荐(0)
摘要:Given an array of numbers nums, in which exactly two elements appear only once and all the other elements appear exactly twice. Find the two elements 阅读全文
posted @ 2018-02-05 16:43 immjc 阅读(109) 评论(0) 推荐(0)
摘要:要求去除字符串首尾的空格。 阅读全文
posted @ 2018-02-03 21:11 immjc 阅读(296) 评论(0) 推荐(0)
摘要:Given a list of daily temperatures, produce a list that, for each day in the input, tells you how many days you would have to wait until a warmer temp 阅读全文
posted @ 2018-02-01 22:03 immjc 阅读(187) 评论(0) 推荐(0)