Flexport logoFlexport
CodingMembers

IPv4 Validation and Restore IP Addresses

Members only

A two-part string coding question that starts with checking a dotted address format and then asks you to rebuild addresses from raw digits. The follow-up part reuses the rules from the first, and the interviewer cares about edge cases and how you reason about the size of the search.

SWE
medium
string
backtracking
recursion
python
Frequency
Single report
Last asked
—
Stage
phone-screen

Members get

  • Full problem statement
  • 3 progressive hints
  • Step-by-step approach
  • Full solution with code
  • 6 talking points
  • 5 follow-up questions with answer directions
  • Preparation drills

Log in to continue reading the full content

Comments

Sign in to join the discussion
Loading...