1p3a Question · Nov 2025

IPv4 Address Iterator with CIDR Support

Question Details

Problem Statement You need to write a Python class that acts as an IPv4 iterator. This class will let you loop through IP addresses one by one. The interview problem adds difficulty in steps: first

Full Details

🔒

Unlock all OpenAI questions

Full insider details, leaked discussions, and candidate experiences.

or every company, $100/year →

About This Question

This is a reported interview question from a openai interview for a swe role reported in 2025.

It covers the following topics: Strings .

Difficulty rating: Hard

Topics