Also reported as LazyArray · Lazy Array with Map Chaining
Databricks coding question, reconstructed from 11 candidate reports (April 2025 to April 2026). Tests: iterators and generators; stateful class design. Candidates reported 4 follow-ups. The write-up includes a Python solution that passes 10 test cases.