일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
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
- 빅데이터
- sort
- docker
- 자료구조
- big data
- 알고리즘
- linux
- Data Structure
- storage
- 도커
- recursive
- Amazon
- AWS
- hadoop
- 리눅스
- 자바
- rhcsa
- 스프링
- java
- 아마존
- 설치
- 레드햇
- 스토리지
- Redshift
- 재귀
- Spring
- 하둡
- redhat
- algorithm
- Today
- Total
목록Programming/Code (14)
Developer MJ
삽입 정렬 import java.util.Scanner; class Solution { static int input[]; static int num; static void insertionSort() { for (int i = 1; i = 0)) { input[j + 1] = input[j]; j = j - 1; } input[j + 1] = temp; } } static void printResult() { int i; for (i = 0; i < num; ++i) { System.out.print(input[i] + " "); } System.out.pr..
먼저 집어 넣은 데이터가 먼저 나오는 FIFO (First In First Out)구조 N(2= MAX_N) { rear = MAX_N; } return value; } public static void main(String arg[]) throws Exception { Scanner sc = new Scanner(System.in); int T = sc.nextInt(); for (int test_case = 1; test_case
한 쪽 끝에서만 자료를 넣거나 뺄 수 있는 선형 구조(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..