上一页 1 ··· 30 31 32 33 34 35 36 37 38 ··· 76 下一页
摘要: Suppose you have a random list of people standing in a queue. Each person is described by a pair of integers (h, k), where h is the height of the pers 阅读全文
posted @ 2020-05-20 07:35 Schwifty 阅读(210) 评论(0) 推荐(0)
摘要: Write a class StockSpanner which collects daily price quotes for some stock, and returns the span of that stock's price for the current day. The span 阅读全文
posted @ 2020-05-19 23:59 Schwifty 阅读(122) 评论(0) 推荐(0)
摘要: Given a string s and a non-empty string p, find all the start indices of p's anagrams in s. Strings consists of lowercase English letters only and the 阅读全文
posted @ 2020-05-18 09:48 Schwifty 阅读(165) 评论(0) 推荐(0)
摘要: Given a sentence text (A sentence is a string of space-separated words) in the following format: First letter is in upper case. Each word in text are 阅读全文
posted @ 2020-05-18 04:29 Schwifty 阅读(310) 评论(0) 推荐(0)
摘要: Given two integer arrays startTime and endTime and given an integer queryTime. The ith student started doing their homework at the time startTime[i] a 阅读全文
posted @ 2020-05-18 04:27 Schwifty 阅读(358) 评论(0) 推荐(0)
摘要: Given the array favoriteCompanies where favoriteCompanies[i] is the list of favorites companies for the ith person (indexed from 0). Return the indice 阅读全文
posted @ 2020-05-18 04:24 Schwifty 阅读(316) 评论(0) 推荐(0)
摘要: Given an integer n, return a list of all simplified fractions between 0 and 1 (exclusive) such that the denominator is less-than-or-equal-to n. The fr 阅读全文
posted @ 2020-05-17 05:08 Schwifty 阅读(235) 评论(0) 推荐(0)
摘要: Given a string s, the power of the string is the maximum length of a non-empty substring that contains only one unique character. Return the power of 阅读全文
posted @ 2020-05-17 05:04 Schwifty 阅读(276) 评论(0) 推荐(0)
摘要: Given a binary tree root, a node X in the tree is named good if in the path from root to X there are no nodes with a value greater than X. Return the 阅读全文
posted @ 2020-05-17 05:02 Schwifty 阅读(323) 评论(0) 推荐(0)
摘要: Implement function ToLowerCase() that has a string parameter str, and returns the same string in lowercase. Example 1: Input: "Hello" Output: "hello" 阅读全文
posted @ 2020-05-16 10:05 Schwifty 阅读(154) 评论(0) 推荐(0)
上一页 1 ··· 30 31 32 33 34 35 36 37 38 ··· 76 下一页