摘要:
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 阅读全文
摘要:
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 阅读全文
摘要:
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 阅读全文
摘要:
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[ 阅读全文
摘要:
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 阅读全文
摘要:
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 阅读全文