Algorithm · Okta · Easy
Problem You are given an array of strings. Return true if every string in the array is a valid IPv4 address; otherwise return false. IPv4 Validity Rules A string is considered a valid IPv4 address when it meets all of the following criteria: It contains exactly four decimal segments separated by dots (.). Every segment is an integer in the inclusive range 0–255. Each segment consists solely of digits (0–9). No segment may be empty (e.g., "1..1.1" is invalid). Note: Validate…
Checking your access…