Skip to content

Commit d45d037

Browse files
committed
Add reference links to Spiral Matrix II documentation
1 parent 2970424 commit d45d037

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

src/main/java/com/thealgorithms/matrix/SpiralMatrixII.java

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,10 @@
1+
/**
2+
* Spiral Matrix II
3+
* Generates an n x n matrix filled with numbers from 1 to n^2 in spiral order.
4+
*
5+
* @see <a href="https://leetcode.com/problems/spiral-matrix-ii/">LeetCode – Spiral Matrix II</a>
6+
* @see <a href="https://en.wikipedia.org/wiki/Spiral_matrix">Wikipedia – Spiral Matrix</a>
7+
*/
18
package com.thealgorithms.matrix;
29

310
public class SpiralMatrixII {

0 commit comments

Comments
 (0)