上一页 1 2 3 4 5 6 7 8 9 ··· 33 下一页
摘要: Given a list of positive integers nums and an int target, return indices of the two numbers such that they add up to a target - 30. Conditions: You wi 阅读全文
posted @ 2020-04-06 03:36 xuan_abc 阅读(219) 评论(0) 推荐(0)
摘要: Given 2 lists a and b. Each element is a pair of integers where the first integer represents the unique id and the second integer represents a value. 阅读全文
posted @ 2020-04-06 03:12 xuan_abc 阅读(132) 评论(0) 推荐(0)
摘要: You have an array of logs. Each log is a space delimited string of words. For each log, the first word in each log is an alphanumeric identifier. Then 阅读全文
posted @ 2020-04-05 22:32 xuan_abc 阅读(211) 评论(0) 推荐(0)
摘要: Given a paragraph and a list of banned words, return the most frequent word that is not in the list of banned words. It is guaranteed there is at leas 阅读全文
posted @ 2020-04-05 11:08 xuan_abc 阅读(193) 评论(0) 推荐(0)
摘要: There are n servers numbered from 0 to n-1 connected by undirected server-to-server connections forming a network where connections[i] = [a, b] repres 阅读全文
posted @ 2020-04-05 00:34 xuan_abc 阅读(156) 评论(0) 推荐(0)
摘要: Given an array of strings products and a string searchWord. We want to design a system that suggests at most three product names from products after e 阅读全文
posted @ 2020-04-04 23:31 xuan_abc 阅读(254) 评论(0) 推荐(0)
摘要: Given string S and a dictionary of words words, find the number of words[i] that is a subsequence of S. Example : Input: S = "abcde" words = ["a", "bb 阅读全文
posted @ 2020-04-02 11:42 xuan_abc 阅读(149) 评论(0) 推荐(0)
摘要: Given a string with no duplicate characters, return a list with all permutations of the string and all its subsets. Examples Set = “abc”, all permutat 阅读全文
posted @ 2020-04-01 03:54 xuan_abc 阅读(124) 评论(0) 推荐(0)
摘要: Given an unsorted integer array, find the subarray that has the greatest sum. Return the sum and the indices of the left and right boundaries of the s 阅读全文
posted @ 2020-03-31 06:51 xuan_abc 阅读(111) 评论(0) 推荐(0)
摘要: Given two words word1 and word2, find the minimum number of operations required to convert word1 to word2. You have the following 3 operations permitt 阅读全文
posted @ 2020-03-30 09:13 xuan_abc 阅读(117) 评论(0) 推荐(0)
上一页 1 2 3 4 5 6 7 8 9 ··· 33 下一页