摘要: 题目如下: Given a non-negative integer num, return the number of steps to reduce it to zero. If the current number is even, you have to divide it by 2, ot 阅读全文
posted @ 2020-02-09 17:31 seyjs 阅读(369) 评论(0) 推荐(0) 编辑
摘要: 题目如下: Given an array of integers arr and two integers k and threshold. Return the number of sub-arrays of size k and average greater than or equal to  阅读全文
posted @ 2020-02-09 17:28 seyjs 阅读(193) 评论(0) 推荐(0) 编辑
摘要: 题目如下: 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) 编辑