码迷,mamicode.com
首页 > 其他好文 > 详细

93. Restore IP Addresses 93.恢复IP地址

时间:2020-07-23 23:22:00      阅读:75      评论:0      收藏:0      [点我收藏+]

标签:ini   return   ddr   bin   nat   tput   git   store   nsis   

Given a string containing only digits, restore it by returning all possible valid IP address combinations.

A valid IP address consists of exactly four integers (each integer is between 0 and 255) separated by single points.

Example:

Input: "25525511135"
Output: ["255.255.11.135", "255.255.111.35"]

93. Restore IP Addresses 93.恢复IP地址

标签:ini   return   ddr   bin   nat   tput   git   store   nsis   

原文地址:https://www.cnblogs.com/immiao0319/p/13368618.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!