上一页 1 ··· 7 8 9 10 11 12 13 14 15 ··· 20 下一页
摘要: Description: Given a matrix A, return the transpose of A. The transpose of a matrix is the matrix flipped over it's main diagonal, switching the row a 阅读全文
posted @ 2019-08-21 11:17 CodingYM 阅读(120) 评论(0) 推荐(0) 编辑
摘要: Description Given an array A of strings made only from lowercase letters, return a list of all characters that show up in all strings within the list 阅读全文
posted @ 2019-08-21 10:52 CodingYM 阅读(167) 评论(0) 推荐(0) 编辑
摘要: Basics Quiz 阅读全文
posted @ 2019-08-19 17:26 CodingYM 阅读(117) 评论(0) 推荐(0) 编辑
摘要: 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) 编辑
摘要: First lets recall the concept for BFS and DFS. I will use below Binary Tree as an example. Before that, lets go through some of the concepts of Trees 阅读全文
posted @ 2019-08-09 17:00 CodingYM 阅读(297) 评论(0) 推荐(0) 编辑
摘要: Description: Given a string and an integer k, you need to reverse the first k characters for every 2k characters counting from the start of the string 阅读全文
posted @ 2019-08-08 16:57 CodingYM 阅读(156) 评论(0) 推荐(0) 编辑
摘要: Description: Given two non-negative integers num1 and num2 represented as string, return the sum of num1 and num2. Note: Solution: 阅读全文
posted @ 2019-08-08 11:33 CodingYM 阅读(72) 评论(0) 推荐(0) 编辑
上一页 1 ··· 7 8 9 10 11 12 13 14 15 ··· 20 下一页