Skip to content

Commit 37a7bb2

Browse files
authored
Add a story to the flatten-array exercise (#2538)
1 parent a8ca9c5 commit 37a7bb2

File tree

2 files changed

+8
-1
lines changed

2 files changed

+8
-1
lines changed

exercises/flatten-array/description.md renamed to exercises/flatten-array/instructions.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# Description
1+
# Instructions
22

33
Take a nested array of any depth and return a fully flattened array.
44

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
# Introduction
2+
3+
A shipment of emergency supplies has arrived, but there's a problem.
4+
To protect from damage, the items — flashlights, first-aid kits, blankets — are packed inside boxes, and some of those boxes are nested several layers deep inside other boxes!
5+
6+
To be prepared for an emergency, everything must be easily accessible in one box.
7+
Can you unpack all the supplies and place them into a single box, so they're ready when needed most?

0 commit comments

Comments
 (0)