WhiteBox
Problems
Core Catalog
Real interview problems not on LeetCode
Algorithms
Sharpen problem solving with handpicked DSA problems
Domain Knowledge
Quiz yourself
Library
Curated resources, tier lists, and problem sets
Guides
Real takes worth your time reading
White Room
White Room
Your AI coach, plan, and memory
White Room DSA
Adaptive problems dealt at your level
What is White Room?
Community
Leaderboard
See top WhiteBox performers
Refer & Earn
Get your friends on WhiteBox
Shop
Customize your profile
Contributors
Meet the team behind WhiteBox
Changelog
See what's new on WhiteBox
Tools
Interview Intel
Questions pulled from real interviews
Resume Reviewer
See your resume the way a recruiter does
Job Boards
Land your dream job
Sandbox IDE
Solve Codeforces, AtCoder, and CSES in-browser
Search
Ctrl K
Login
Sign up
Log in
Practice
Core Catalog
Algorithms
Domain Knowledge
Library
Guides
White Room
White Room
White Room DSA
Community
Leaderboard
Refer & Earn
Shop
Contributors
Changelog
Tools
Interview Intel
Resume Reviewer
Job Boards
Sandbox IDE
Back
All Modules
Python Semantics
Iterators & Generators
Iterators & Generators
Lazy until asked.
0 / 11 solved
0/11
solved
Status
All questions
11
Unsolved
11
Solved
0
Tags
builtins
1
class-body
1
comprehensions
2
control-flow
1
delegation
1
dunder-methods
1
enumerate
1
evaluation-order
1
generator-expressions
2
generators
4
iterables
3
iterators
5
lazy-evaluation
2
list-comprehensions
1
nested-comprehensions
1
range
1
scope
1
single-use
3
state
1
yield
1
yield-from
1
zip
1
Difficulty
1
10
Clear
Question
Tags
Difficulty
Success
1.
Has One Method, Not the Other
iterators
iterables
+1
Medium
—
2.
Reusable List, One-Shot Iterator
iterators
iterables
+1
Medium
—
3.
Advancing a Generator Expression
generators
generator-expressions
+1
Medium
—
4.
Enumerate and Zip Only Go Once
iterators
enumerate
+2
Medium
—
5.
Which Ones Are Already Iterators
iterators
iterables
+1
Medium
—
6.
Nothing Runs Until You Ask
generators
yield
+1
Medium
—
7.
Order of Nested For Clauses
comprehensions
nested-comprehensions
+1
Medium
—
8.
Range Object vs Generator Object
iterators
generators
+2
Hard
—
9.
Delegating With Yield From
yield-from
generators
+1
Hard
—
10.
When the Division Actually Happens
generator-expressions
list-comprehensions
+1
Hard
—
11.
What the Comprehension Can See
comprehensions
scope
+2
Insane
—
iterators
iterables
dunder-methods
single-use
generators
generator-expressions
state
enumerate
zip
builtins
yield
lazy-evaluation
comprehensions
nested-comprehensions
control-flow
range
yield-from
delegation
list-comprehensions
scope
class-body
evaluation-order
+1
+2
+3
+4
Up next
11 of 11 questions here are still unsolved.
Next module
Inheritance & Dunder Protocols
Problems
Roadmap
White Room
Guides
Log in