摘要: Given a string containing only digits, restore it by returning all possible valid IP address combinations. For example:Given "25525511135", return ["2 阅读全文
posted @ 2016-08-09 19:04 snakech 阅读(178) 评论(0) 推荐(0)
摘要: Write a function that takes a string as input and returns the string reversed. Example:Given s = "hello", return "olleh". 题目大意就是给一个字符串,得到倒序字符串 corner 阅读全文
posted @ 2016-08-09 12:50 snakech 阅读(136) 评论(0) 推荐(0)