CodingReported in a candidate post, Jul 2021
Pattern Printing with List Comprehension
Filed under JPMorgan Chase
The question
Print the pattern [1, 1, 1, 2, 4, 8, 3, 9, 27, 4, 16, 64] using list comprehension.
No write-up yet. Related questions below have one.
Related JPMorgan Chase questions
Collected from public candidate posts and coding forums. Updated Nov 2026.