上一页 1 ··· 44 45 46 47 48 49 50 51 52 ··· 76 下一页
摘要: Given a sorted list of disjoint intervals, each interval intervals[i] = [a, b] represents the set of real numbers x such that a <= x < b. We remove th 阅读全文
posted @ 2019-12-03 00:07 Schwifty 阅读(244) 评论(0) 推荐(0)
摘要: A decimal number can be converted to its Hexspeak representation by first converting it to an uppercase hexadecimal string, then replacing all occurre 阅读全文
posted @ 2019-12-02 00:34 Schwifty 阅读(275) 评论(0) 推荐(0)
摘要: Given scores of N athletes, find their relative ranks and the people with the top three highest scores, who will be awarded medals: "Gold Medal", "Sil 阅读全文
posted @ 2019-11-29 10:51 Schwifty 阅读(113) 评论(0) 推荐(0)
摘要: Given an integer, return its base 7 string representation. Example 1: Input: 100 Output: "202" Example 2: Input: -7 Output: "-10" class Solution { pub 阅读全文
posted @ 2019-11-29 09:23 Schwifty 阅读(123) 评论(0) 推荐(0)
摘要: Given a circular array (the next element of the last element is the first element of the array), print the Next Greater Number for every element. The 阅读全文
posted @ 2019-11-29 06:49 Schwifty 阅读(162) 评论(0) 推荐(0)
摘要: Given a binary search tree (BST) with duplicates, find all the mode(s) (the most frequently occurred element) in the given BST. Assume a BST is define 阅读全文
posted @ 2019-11-28 09:49 Schwifty 阅读(143) 评论(0) 推荐(0)
摘要: Given a List of words, return the words that can be typed using letters of alphabet on only one row's of American keyboard like the image below. Examp 阅读全文
posted @ 2019-11-28 09:41 Schwifty 阅读(99) 评论(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 @ 2019-11-28 07:29 Schwifty 阅读(295) 评论(0) 推荐(0)
摘要: Given an array nums of integers, we need to find the maximum possible sum of elements of the array such that it is divisible by three. Example 1: Inpu 阅读全文
posted @ 2019-11-27 09:16 Schwifty 阅读(874) 评论(0) 推荐(0)
摘要: 1267. Count Servers that Communicate Medium 693FavoriteShare You are given a map of a server center, represented as a m * n integer matrix grid, where 阅读全文
posted @ 2019-11-27 05:26 Schwifty 阅读(240) 评论(0) 推荐(0)
上一页 1 ··· 44 45 46 47 48 49 50 51 52 ··· 76 下一页