728x90
반응형
[Matrix] Spiral Matrix IV
분명 전산학부 졸업 했는데 코딩 개못하는 조준호/알고리즘 초고수 조준호 2024. 9. 9. 23:04[Matrix] Spiral Matrix IV

https://github.com/Yellome-in-the-BOK/leetcode/blob/main/240909_Spiral%20Matrix%20IV/explanation.md leetcode/240909_Spiral Matrix IV/explanation.md at main · Yellome-in-the-BOK/leetcodeContribute to Yellome-in-the-BOK/leetcode development by creating an account on GitHub.github.com  ✨ 인사이트방향 전환이 나오면 자고로 `directions = [(0, 1), (1, 0), (0, -1), (-1, 0)]` 그냥 써두고 시작하면 된다. 괜히 최적화 해보겠다고 시계방향으로 도는 싸이클 ..

728x90
반응형
image