Implement a Stepped Iterator

Read the full interview experience this question came from →

Quick Overview

Design an iterator over a sequence with `hasNext()` and `next()`, then add a positive integer `step`. Make the API or object boundaries explicit, then cover invariants, edge cases, testing strategy, and operational trade-offs.

Implement a Stepped Iterator

Company: Bridge

Role: Software Engineer

Category: Software Engineering Fundamentals

Difficulty: medium

Interview Round: Technical Screen

Overview: Design an iterator over a sequence with `hasNext()` and `next()`, then add a positive integer `step`. Make the API or object boundaries explicit, then cover invariants, edge cases, testing strategy, and operational trade-offs.

Read the full Bridge Software Engineer interview experience this question came from

|Home/Software Engineering Fundamentals/Bridge
Bridge logo
Bridge
Jul 30, 2026
mediumSoftware EngineerTechnical ScreenSoftware Engineering Fundamentals
11
0
Loading...
Loading comments...