Defanging an IP Address
Rewrite an IPv4 address so that each dot is replaced by a bracketed dot. The output is built one character at a time.
Rewrite an IPv4 address so that each dot is replaced by a bracketed dot. The output is built one character at a time.