Hi, this is one of the test cases which I assume to be invalid but the results show it is valid. It has extra leading zeros. Can anyone tell me why?
@nanocmp by the task description, IPv6 could have leading zeros up to 4 digits in a group, e.g 0000 is a valid group, where 00000 - no
@radistao "2001:0db8:85a3:00000:0:8A2E:0370:7334" then why this is Valid , it has 00000 . maximum 4 digits should be allowed as it is represented in hexadecimal number.
Looks like your connection to LeetCode Discuss was lost, please wait while we try to reconnect.