摘要: Description: You are given a string representing an attendance record for a student. The record only contains the following three characters: 'A' : Ab 阅读全文
posted @ 2019-08-21 22:25 CodingYM 阅读(154) 评论(0) 推荐(0) 编辑
摘要: Description: On a staircase, the i-th step has some non-negative cost cost[i] assigned (0 indexed). Once you pay the cost, you can either climb one or 阅读全文
posted @ 2019-08-21 21:31 CodingYM 阅读(162) 评论(0) 推荐(0) 编辑
摘要: Description: Given an integer n, return the number of trailing zeroes in n!. Example 1: Input: 3 Output: 0 Explanation: 3! = 6, no trailing zero. Exam 阅读全文
posted @ 2019-08-21 17:15 CodingYM 阅读(210) 评论(0) 推荐(0) 编辑
摘要: Description: You are given an array of strings words and a string chars. A string is good if it can be formed by characters from chars (each character 阅读全文
posted @ 2019-08-21 11:56 CodingYM 阅读(246) 评论(0) 推荐(0) 编辑
摘要: 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) 编辑