일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
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 |
- data
- 알고리즘
- big data
- Redshift
- 도커
- 아마존
- algorithm
- 자바
- redhat
- 재귀
- recursive
- Amazon
- docker
- Spring
- sort
- hadoop
- 스토리지
- 빅데이터
- 스프링
- 자료구조
- java
- 리눅스
- Data Structure
- rhcsa
- linux
- AWS
- 하둡
- storage
- 레드햇
- 설치
- Today
- Total
목록algorithm (9)
Developer MJ
N X N 체스판에 N개의 Queen들이 같은 열과 대각선에 위치하지 않도록 하는 좌표 출력 import java.io.IOException; import java.util.Arrays; import java.util.Scanner; public class Nqueens { private static int[] cols; private static int n; private static int level; public static void main(String[] args) { // TODO Auto-generated method stub // BufferedReader br = new BufferedReader(new // InputStreamReader(System.in)); Scanner s = n..
미로찾기 문제 import java.io.BufferedReader; import java.io.File; import java.io.FileInputStream; import java.io.IOException; import java.io.InputStreamReader; public class Maze { private static final String PATH = "0"; private static final String WALL = "1"; private static final String BLOCKED = "9"; private static final String ROUTE = "7"; public static void main(String[] args) { // TODO Auto-genera..
주어진 집합의 모든 부분집합 = 멱집합 public class PowerSet { private static String[] S = { "a", "b", "c", "d", "e", "f" }; private static int n = S.length; private static boolean[] include = new boolean[n]; private static int level; public static void main(String[] args) { // TODO Auto-generated method stub level = 0; powerset(level); } public static void powerset(int level) { if (level == n) { for (int i = 0;..