Computer NetworksNETWORKS

Validate an IP Address

Problem: https://www.geeksforgeeks.org/problems/validate-an-ip-address-1587115621/1

Algorithm
1.Check the Length of the String:
2.Split the String by Dots
3.Validate Each Part: Trailing zeros,empty strings and range
4.Return True

source

ip address

Alice AUSTIN

Alice AUSTIN is studying Cisco Systems Engineering. He has passion with both hardware and software and writes articles and reviews for many IT websites.