摘要: 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 duplicate files in the file system in terms of their ... 阅读全文
posted @ 2017-10-11 20:25 xiejunzhao 阅读(347) 评论(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 formed by the subtree rooted at that node (includi... 阅读全文
posted @ 2017-10-11 20:25 xiejunzhao 阅读(292) 评论(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 that appear only once.For example:Given nums = [1,... 阅读全文
posted @ 2017-10-11 20:22 xiejunzhao 阅读(115) 评论(0) 推荐(0)