일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
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 |
- java
- 레드햇
- linux
- redhat
- 도커
- algorithm
- rhcsa
- docker
- big data
- 알고리즘
- storage
- Redshift
- recursive
- 스프링
- data
- 아마존
- 빅데이터
- 재귀
- Data Structure
- 하둡
- 자바
- 설치
- 자료구조
- hadoop
- AWS
- Amazon
- 스토리지
- sort
- Spring
- 리눅스
- Today
- Total
목록java (14)
Developer MJ
한 쪽 끝에서만 자료를 넣거나 뺄 수 있는 선형 구조(LIFO - Last In First Out) N(2
N*N 맵에서 주어진 초기 좌표값과 상,하,좌,우,대각선으로 연결되어있는 BLOB의 Size 구하는 문제 import java.io.BufferedReader; import java.io.File; import java.io.FileInputStream; import java.io.IOException; import java.io.InputStreamReader; public class BlobSize { public static void main(String[] args) { // TODO Auto-generated method stub int x = 0, y = 0; int positionX = 0, positionY = 0; try { BufferedReader br = new BufferedRea..
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;..
리눅스 서버에서 다른 리눅스 서버로 파일 전송 Transfer File Linux to Another Linux with JSch Libarary JSch jSch = new JSch(); Session session = null; Channel channel = null; ChannelSftp channelSftp = null; try { java.util.Properties config = new java.util.Properties(); config.put("StrictHostKeyChecking", "no"); session = jSch.getSession("ec2-user", "REMOTE SERVER HOST", ); jSch.addIdentity("/home/ec2-user/.ssh/id_r..