New
ML System Design & SQL tracks just landed
See what's new
×
Question Bank
Pricing
Blog
Forum
HOT
Referral
Description
Solution
Discussion
Submissions
Ask AI
Question Bank
Coding Question
AI Insights
Quick Summary
Parse a CIDR string into a contiguous numeric IP range.
Implement a stateful iterator that yields addresses at a fixed interval.
Ensure iteration always begins at the aligned network address.
What This Tests
Bit manipulation and integer arithmetic for IP conversion
Stateful iterator design and boundary tracking
String parsing and formatted output generation
Memory-efficient traversal of large numeric intervals
Common Patterns
Bit Manipulation
Collapse
Hint 1
Hint 2
What Interviewers May Ask Next
Accepted
2.8k
/8.5k
Acceptance Rate
33.2%
Ask AI Assistant
Ask AI Assistant
Ask me anything about this coding question!
Qwen
Qwen3.6-Flash
0/2000
Auto
Debug
Run
Submit
Test Cases
Input
Output
Expected