摘要: Given a string containing only digits, restore it by returning all possible valid IP address combinations. Example: ip地址恢复 ip地址根据.分成4部分,每个部分都小于255. 编码 阅读全文
posted @ 2018-08-20 15:46 immjc 阅读(151) 评论(0) 推荐(0) 编辑
摘要: Given an integer n, return 1 - n in lexicographical order. For example, given 13, return: [1,10,11,12,13,2,3,4,5,6,7,8,9]. Please optimize your algori 阅读全文
posted @ 2018-08-20 10:25 immjc 阅读(138) 评论(0) 推荐(0) 编辑