Implement a Stepped Iterator

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

Bridge logo
Bridge
Jul 30, 2026
mediumSoftware EngineerTechnical ScreenSoftware Engineering Fundamentals
19
0
Loading...