diff --git a/reasoning_gym/algorithmic/spiral_matrix.py b/reasoning_gym/algorithmic/spiral_matrix.py index 651e5d69..bc68e3cf 100644 --- a/reasoning_gym/algorithmic/spiral_matrix.py +++ b/reasoning_gym/algorithmic/spiral_matrix.py @@ -17,7 +17,7 @@ The spiral order is clockwise, starting from the top-left corner. More precisely - Start from the top-left corner and move right. - Move down towards the bottom-right corner. - Move left towards the bottom-left corner. -- Move up towards the top-right corner. +- Move up towards the top-left corner. - Repeat the steps for the inner elements of the matrix until every entry is visited. Your output should be a space-separated list of integers, e.g. 1 2 3 4 5 6