0 day streak
Anonymous · shared experience1 Oct 2025 · 2 views

OpenAI: Iterator that extends to 2D, 3D and async

Interview question #OpenAI DSA / coding

Problem. Implement an iterator over a collection. Then extend it step by step: iterate a 2D structure, then a 3D one, then make an async version.

What mattered. The candidate, who worked in Python, said the key was knowing how iterators, generators and async iteration work under the hood, since each extension builds on the last.

Context. Final coding round of an onsite for a backend applied engineering role.

0 comments

Comments 0

No comments yet. Ask the author something, or add what happened in your own round.