2014年7月31日

Decode Ways

摘要: Description:A message containing letters fromA-Zis being encoded to numbers using the following mapping:'A' -> 1'B' -> 2...'Z' -> 26Given an encoded m... 阅读全文

posted @ 2014-07-31 23:42 soyscut 阅读(178) 评论(0) 推荐(0) 编辑

String to Integer(atoi)

摘要: Implementatoito convert a string to an integer.Hint:Carefully consider all possible input cases. If you want a challenge, please do not see below and ... 阅读全文

posted @ 2014-07-31 23:34 soyscut 阅读(174) 评论(0) 推荐(0) 编辑

Leetcode:Reverse Words in a String

摘要: Description:Given an input string, reverse the string word by word.For example,Given s = "the sky is blue",return "blue is sky the".Clarification:What... 阅读全文

posted @ 2014-07-31 23:09 soyscut 阅读(168) 评论(0) 推荐(0) 编辑

导航