摘要: Given a string s consists of upper/lower-case alphabets and empty space characters ' ', return the length of last word in the string. If the last word 阅读全文
posted @ 2016-04-24 13:26 wangb021 阅读(133) 评论(0) 推荐(0) 编辑
摘要: Given a string, determine if it is a palindrome, considering only alphanumeric characters and ignoring cases. For example, "A man, a plan, a canal: Pa 阅读全文
posted @ 2016-04-24 13:21 wangb021 阅读(122) 评论(0) 推荐(0) 编辑
摘要: Given a string containing only digits, restore it by returning all possible valid IP address combinations. For example: Given "25525511135", return [" 阅读全文
posted @ 2016-04-24 13:18 wangb021 阅读(148) 评论(0) 推荐(0) 编辑