From 99b6ba9c86824672c014aff90c09062da55c85d4 Mon Sep 17 00:00:00 2001 From: gayo73 <163620291+gayo73@users.noreply.github.com> Date: Wed, 22 Jul 2026 22:18:36 +0900 Subject: [PATCH] =?UTF-8?q?=EC=82=BC=EA=B0=81=EB=8B=AC=ED=8C=BD=EC=9D=B4.j?= =?UTF-8?q?ava?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- ...\353\213\254\355\214\275\354\235\264.java" | 36 +++++++++++++++++++ 1 file changed, 36 insertions(+) create mode 100644 "Programmers/Gayo/\354\202\274\352\260\201\353\213\254\355\214\275\354\235\264.java" diff --git "a/Programmers/Gayo/\354\202\274\352\260\201\353\213\254\355\214\275\354\235\264.java" "b/Programmers/Gayo/\354\202\274\352\260\201\353\213\254\355\214\275\354\235\264.java" new file mode 100644 index 0000000..191ad39 --- /dev/null +++ "b/Programmers/Gayo/\354\202\274\352\260\201\353\213\254\355\214\275\354\235\264.java" @@ -0,0 +1,36 @@ +class Solution { + public int[] solution(int n) { + int[] answer = {}; + int[][] arr = new int[n][n]; + + int x = -1, y = 0; + int num = 1; + for(int i=0; i