上一页 1 ··· 12 13 14 15 16 17 18 19 20 ··· 68 下一页
摘要: 题目如下: Given two numbers, hour and minutes. Return the smaller angle (in sexagesimal units) formed between the hour and the minute hand. Example 1: Inp 阅读全文
posted @ 2020-02-09 17:27 seyjs 阅读(323) 评论(0) 推荐(0) 编辑
摘要: 题目如下: Given an array arr of integers, check if there exists two integers N and M such that N is the double of M ( i.e. N = 2 * M). More formally check 阅读全文
posted @ 2020-02-09 17:24 seyjs 阅读(556) 评论(0) 推荐(0) 编辑
摘要: 题目如下: Given two equal-size strings s and t. In one step you can choose any character of t and replace it with another character. Return the minimum nu 阅读全文
posted @ 2020-02-09 17:23 seyjs 阅读(314) 评论(0) 推荐(0) 编辑
摘要: 题目如下: Implement the class TweetCounts that supports two methods: 1. recordTweet(string tweetName, int time) Stores the tweetName at the recorded time  阅读全文
posted @ 2020-02-09 17:20 seyjs 阅读(231) 评论(0) 推荐(0) 编辑
摘要: 题目如下: Given an array of integers arr and an integer d. In one step you can jump from index i to index: i + x where: i + x < arr.length and 0 < x <= d. 阅读全文
posted @ 2020-02-08 14:26 seyjs 阅读(406) 评论(0) 推荐(0) 编辑
摘要: 题目如下: Given an array arr. You can choose a set of integers and remove all the occurrences of these integers in the array. Return the minimum size of t 阅读全文
posted @ 2020-02-08 14:16 seyjs 阅读(431) 评论(0) 推荐(0) 编辑
摘要: 题目如下: Given a m * n matrix mat of ones (representing soldiers) and zeros (representing civilians), return the indexes of the k weakest rows in the mat 阅读全文
posted @ 2020-02-08 14:11 seyjs 阅读(355) 评论(0) 推荐(0) 编辑
摘要: 题目如下: Given an array of integers arr, replace each element with its rank. The rank represents how large the element is. The rank has the following rul 阅读全文
posted @ 2020-01-27 17:25 seyjs 阅读(383) 评论(0) 推荐(0) 编辑
摘要: 题目如下: Given a m * n matrix mat of integers, sort it diagonally in ascending order from the top-left to the bottom-right then return the sorted array. 阅读全文
posted @ 2020-01-27 17:18 seyjs 阅读(485) 评论(0) 推荐(0) 编辑
摘要: 题目如下: Given a palindromic string palindrome, replace exactly one character by any lowercase English letter so that the string becomes the lexicographi 阅读全文
posted @ 2020-01-27 17:16 seyjs 阅读(472) 评论(0) 推荐(0) 编辑
上一页 1 ··· 12 13 14 15 16 17 18 19 20 ··· 68 下一页