태그>recursion(총 4개의 글)
'recursion' 관련 최근글
-
- BridgeCrossing
-
불타는 아잍(IT)스크림 by 불타는 아이스크림|2020/03/19 14:25
Code import java.util.Arrays; public class BridgeCrossing{ int n, min; boolean[] a; int[] times; void go(int t, int num) { for (int i = 0; i < n; i+) { if (!a[i]) continue; a[i] = false; for (int j = i+1; j < n; j+) { if (!a[j]..
- BridgeCrossing
-
- TicSolver
-
불타는 아잍(IT)스크림 by 불타는 아이스크림|2019/02/17 07:03
Code public class TicSolver{ char[][] board; char ch; int[] y1 = {0,0,2,2,1,0,0,0}; int[] x1 = {0,2,2,0,0,1,0,2}; int[] y2 = {0,1,2,1,1,1,1,1}; int[] x2 = {1,2,1,0,1,1,1,1}; int[] y3 = {0,2,2,0,1,2,2,2}; int..
- TicSolver
-
- [LeetCode OJ] Palindrome Partitioning - Medium
-
양파개발자 SW의 블로그입니다^^ by 졸린미어캣|2015/05/27 00:09
먼저 문제를 이해해보면,Palindrome : 회문, 앞에서부터 혹은 뒤에서부터 읽어도 문자배열이 같은 단어 자, 어떤 입력 문자열에 대해서,생성 가능한 Palindrome 문자열만으로 이루어진 리스트의모든 경우의 수를 만들어 2차원 리스트를 반환하는 것이 되겟다. 일단, 앞에..
- [LeetCode OJ] Palindrome Partitioning - Medium
-
- 우리나라에 딱 하나 문제
-
NoSyu의 주저리 주저리 by NoSyu|2008/10/20 09:43
google_ad_client = "pub-7048624575756403";google_ad_slot = "4952969789";google_ad_width = 300;google_ad_height = 250;google_ad_client = "pub-7048624575756403";google_ad_slot = "495296978
- 우리나라에 딱 하나 문제