โ† Energy Exemplar questions

Flatten Nested Array

Filed under Energy Exemplar

The question

Given an array consisting of numbers and nested arrays, flatten it and return the resulting single array.

No write-up yet. Related questions below have one.

Related Energy Exemplar questions

Collected from public candidate posts and coding forums. Updated Nov 2026.