摘要: Description: Given a non-empty array of integers, return the third maximum number in this array. If it does not exist, return the maximum number. The 阅读全文
posted @ 2019-08-12 18:56 CodingYM 阅读(110) 评论(0) 推荐(0) 编辑
摘要: Description: We define the Perfect Number is a positive integer that is equal to the sum of all its positive divisors except itself. Now, given an int 阅读全文
posted @ 2019-08-12 18:30 CodingYM 阅读(121) 评论(0) 推荐(0) 编辑
摘要: Description: Given an integer, return its base 7 string representation. Example 1: Example 2: Note: The input will be in range of [-1e7, 1e7]. Solutio 阅读全文
posted @ 2019-08-12 17:51 CodingYM 阅读(155) 评论(0) 推荐(0) 编辑
摘要: Description Given a string date representing a Gregorian calendar date formatted as YYYY-MM-DD, return the day number of the year. Example 1: Example 阅读全文
posted @ 2019-08-12 17:03 CodingYM 阅读(272) 评论(0) 推荐(0) 编辑