๋ฐ์ํ
Notice
Recent Posts
Recent Comments
Link
์ผ | ์ | ํ | ์ | ๋ชฉ | ๊ธ | ํ |
---|---|---|---|---|---|---|
1 | 2 | |||||
3 | 4 | 5 | 6 | 7 | 8 | 9 |
10 | 11 | 12 | 13 | 14 | 15 | 16 |
17 | 18 | 19 | 20 | 21 | 22 | 23 |
24 | 25 | 26 | 27 | 28 | 29 | 30 |
31 |
Tags
- ๋ฐฑ์ค
- Extended Slices
- Do it
- ๋ค์ต์คํธ๋ผ ์๊ณ ๋ฆฌ์ฆ
- ์ ํ ํฌ ํ์ด์ฌ
- ์ด์ง์ ๋ณํ
- dacon
- ์ต์
- ์์ด
- ์ฐธ์กฐ ๋ณ์
- ์๋ฐ
- jdbc
- 2BPerfect
- DFS
- mysql
- np.zeros_like
- ํฉํ ๋ฆฌ์ผ ์ง๋ฒ
- ๋ฐ์ค๊ทธ๋ํ
- PYTHON
- matplotlib
- Do_it
- MacOS
- ํ๋ก๊ทธ๋๋จธ์ค
- sql
- BFS
- ์ง ๊ฐ ์์ธก ๋ถ์
- java
- ์ด๊ฒ์ด ์ทจ์ ์ ์ํ ์ฝ๋ฉํ ์คํธ๋ค
- ๋ธ๋ผ์ฐ์ ์คํ
- ํ์ ๋ณ์
Archives
- Today
- Total
๋ชฉ๋กvisited (1)
๐ฆ ๊ณต๋ฃก์ด ๋์!

// arr ๋ฝ๊ธฐ๋ฅผ ํ๋ ค๊ณ ๋ชจ์ ๊ฐ๋ค // output ์ถ๋ ฅ ๋๋ ๊ฐ // visited ์ค๋ณต๊ฐ ๋ฐฉ์ง public class Permutation { public static void main(String[] args) { int n = 3; int[] arr = {1, 2, 3}; int[] output = new int[n]; boolean[] visited = new boolean[n]; perm(arr, output, visited, 0, n, 3); // Swap ์์ด // System.out.println(); // permutation(arr, 0, n, 3); } // ์ฌ์ฉ ์์: perm(arr, output, visited, 0, n, 3); static void perm(int[] a..
Development/CodingTest
2021. 12. 24. 23:47