上一页 1 2 3 4 5 6 7 ··· 40 下一页
摘要: Find Duplicate File in System (M) 题目 Given a list paths of directory info, including the directory path, and all the files with contents in this direc 阅读全文
posted @ 2021-05-18 22:19 墨云黑 阅读(39) 评论(0) 推荐(0) 编辑
摘要: Longest String Chain (M) 题目 Given a list of words, each word consists of English lowercase letters. Let's say word1 is a predecessor of word2 if and o 阅读全文
posted @ 2021-05-17 22:23 墨云黑 阅读(41) 评论(0) 推荐(0) 编辑
摘要: Binary Tree Cameras (H) 题目 Given a binary tree, we install cameras on the nodes of the tree. Each camera at a node can monitor its parent, itself, and 阅读全文
posted @ 2021-05-16 18:41 墨云黑 阅读(33) 评论(0) 推荐(0) 编辑
摘要: Valid Number (H) 题目 Validate if a given string can be interpreted as a decimal number. Some examples: "0" ⇒ true " 0.1 " ⇒ true "abc" ⇒ false "1 a" ⇒ 阅读全文
posted @ 2021-05-15 15:26 墨云黑 阅读(38) 评论(0) 推荐(0) 编辑
摘要: Flatten Binary Tree to Linked List (M) 题目 Given a binary tree, flatten it to a linked list in-place. For example, given the following tree: 1 / \ 2 5 阅读全文
posted @ 2021-05-15 14:40 墨云黑 阅读(30) 评论(0) 推荐(0) 编辑
摘要: Ambiguous Coordinates (M) 题目 We had some 2-dimensional coordinates, like "(1, 3)" or "(2, 0.5)". Then, we removed all commas, decimal points, and spac 阅读全文
posted @ 2021-05-14 00:12 墨云黑 阅读(39) 评论(0) 推荐(0) 编辑
摘要: Maximum Points You Can Obtain from Cards (M) 题目 There are several cards arranged in a row, and each card has an associated number of points The points 阅读全文
posted @ 2021-05-11 16:18 墨云黑 阅读(40) 评论(0) 推荐(0) 编辑
摘要: Count Primes (E) 题目 Count the number of prime numbers less than a non-negative number, n. Example: Input: 10 Output: 4 Explanation: There are 4 prime 阅读全文
posted @ 2021-05-10 23:48 墨云黑 阅读(31) 评论(0) 推荐(0) 编辑
摘要: Construct Target Array With Multiple Sums (H) 题目 Given an array of integers target. From a starting array, A consisting of all 1's, you may perform th 阅读全文
posted @ 2021-05-09 16:17 墨云黑 阅读(78) 评论(0) 推荐(0) 编辑
摘要: Super Palindromes (H) 题目 Let's say a positive integer is a super-palindrome if it is a palindrome, and it is also the square of a palindrome. Given tw 阅读全文
posted @ 2021-05-08 23:11 墨云黑 阅读(44) 评论(0) 推荐(0) 编辑
上一页 1 2 3 4 5 6 7 ··· 40 下一页