Skip to content

Commit 912d66e

Browse files
Sync the spiral-matrix exercise's docs with the latest data.
1 parent 02f93b9 commit 912d66e

File tree

2 files changed

+12
-1
lines changed

2 files changed

+12
-1
lines changed

exercises/practice/spiral-matrix/.docs/instructions.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# Instructions
22

3-
Given the size, return a square matrix of numbers in spiral order.
3+
Your task is to return a square matrix of a given size.
44

55
The matrix should be filled with natural numbers, starting from 1 in the top-left corner, increasing in an inward, clockwise spiral order, like these examples:
66

Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
# Introduction
2+
3+
In a small village near an ancient forest, there was a legend of a hidden treasure buried deep within the woods.
4+
Despite numerous attempts, no one had ever succeeded in finding it.
5+
This was about to change, however, thanks to a young explorer named Elara.
6+
She had discovered an old document containing instructions on how to locate the treasure.
7+
Using these instructions, Elara was able to draw a map that revealed the path to the treasure.
8+
9+
To her surprise, the path followed a peculiar clockwise spiral.
10+
It was no wonder no one had been able to find the treasure before!
11+
With the map in hand, Elara embarks on her journey to uncover the hidden treasure.

0 commit comments

Comments
 (0)