好记性不如烂笔头,记录学习历程和随想云云,欢迎各位大虾拍砖
全部博文(33)
2015年(33)
发布时间:2015-05-07 23:18:05
【问题描述】Implement atoi to convert a string to an integer.Hint: Carefully consider all possible input cases. If you want a challenge, please do not see below and ask yourself what are the possible input cases.Notes: It is intended for this problem to be specified va.........【阅读全文】
发布时间:2015-05-05 23:05:46
【问题描述】Determine if a Sudoku is valid, according to:?Sudoku Puzzles - The Rules.The Sudoku board could be partially filled, where empty cells are filled with the character?'.'.A partially filled sudoku which is valid.Note:A valid Sudoku board (partially filled) .........【阅读全文】
发布时间:2015-05-04 22:01:42
【问题描述】Description:Count the number of prime numbers less than a non-negative number, n......【阅读全文】
发布时间:2015-05-04 21:05:37
【问题描述】Write an algorithm to determine if a number is "happy".A happy number is a number defined by the following process: Starting with any positive integer, replace the number by the sum of the squares of its digits, and repeat the process until the number equals 1 (where it will stay).........【阅读全文】
发布时间:2015-05-04 21:03:57
【问题描述】Given two strings s and t, determine if they are isomorphic.Two strings are isomorphic if the characters in s can be replaced to get t.All occurrences of a character must be replaced with another character while preserving the order of characters..........【阅读全文】