上一页 1 ··· 6 7 8 9 10 11 12 13 14 ··· 20 下一页
摘要: Description: Given two strings s and t which consist of only lowercase letters. String t is generated by random shuffling string s and then add one mo 阅读全文
posted @ 2019-08-22 17:00 CodingYM 阅读(115) 评论(0) 推荐(0) 编辑
摘要: Description: X is a good number if after rotating each digit individually by 180 degrees, we get a valid number that is different from X. Each digit m 阅读全文
posted @ 2019-08-22 16:45 CodingYM 阅读(112) 评论(0) 推荐(0) 编辑
摘要: Description: Given a word, you need to judge whether the usage of capitals in it is right or not. We define the usage of capitals in a word to be righ 阅读全文
posted @ 2019-08-22 15:38 CodingYM 阅读(137) 评论(0) 推荐(0) 编辑
摘要: Description: An array is monotonic if it is either monotone increasing or monotone decreasing. An array A is monotone increasing if for all i <= j, A[ 阅读全文
posted @ 2019-08-22 15:02 CodingYM 阅读(89) 评论(0) 推荐(0) 编辑
摘要: Description: According to the Wikipedia's article: "The Game of Life, also known simply as Life, is a cellular automaton devised by the British mathem 阅读全文
posted @ 2019-08-22 13:37 CodingYM 阅读(186) 评论(0) 推荐(0) 编辑
摘要: Description: Write a program to solve a Sudoku puzzle by filling the empty cells. A sudoku solution must satisfy all of the following rules: Each of t 阅读全文
posted @ 2019-08-22 11:55 CodingYM 阅读(235) 评论(0) 推荐(0) 编辑
摘要: 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) 编辑
上一页 1 ··· 6 7 8 9 10 11 12 13 14 ··· 20 下一页