This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# 각종 설정 | |
Preferences > Settings - User > 아래 내용 저장 | |
------------------------------------------------------------ | |
{ | |
"font_face":"Bitstream Vera Sans Mono", // 폰트 | |
"font_size":11, // 폰트 사이즈 | |
"ignored_packages": | |
[ | |
"Vintage" | |
], |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package Test1; | |
import java.util.Scanner; | |
import java.util.StringTokenizer; | |
public class CodingTest { | |
public static void main(String[] args) { | |
Scanner s = new Scanner(System.in); | |
StringTokenizer stk; | |
int row = -1, col = -1; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include<stdio.h> | |
void printArray(int* arr); | |
void LeftRotate(int* arr, int size, int n); | |
int main(void) { | |
int arr[4] = {1, 2, 3, 4}; | |
printArray(arr); | |
LeftRotate(arr,4,2); | |
printArray(arr); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package kr.opid.sorting; | |
public class MergeSort { | |
public static void main(String args[]) { | |
int[] array = new int[10]; | |
array[0] = 33; | |
array[1] = 11; | |
array[2] = 99; | |
array[3] = 1; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package kr.opid.sorting; | |
/** | |
* @author Yeong-jun | |
*/ | |
public class BubbleSort { | |
public static void main(String[] args) { | |
int[] array = new int[10]; | |
array[0] = 33; | |
array[1] = 11; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package kr.opid.sorting; | |
public class InsertionSort { | |
public static void main(String[] args) { | |
int[] array = new int[10]; | |
array[0] = 33; | |
array[1] = 11; | |
array[2] = 99; | |
array[3] = 1; | |
array[4] = 22; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package kr.opid.sorting; | |
public class QuickSort { | |
static int serial = 0; | |
public static void main(String[] args) { | |
int[] array = new int[10]; | |
array[0] = 1; | |
array[1] = 11; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package kr.opid.sorting; | |
public class SelectionSort { | |
public static void main(String[] args) { | |
int[] array = new int[10]; | |
array[0] = 33; | |
array[1] = 11; | |
array[2] = 99; | |
array[3] = 1; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package kr.opid.sorting; | |
public class ShellSort { | |
public static void main(String[] args) { | |
int[] array = new int[10]; | |
array[0] = 33; | |
array[1] = 11; | |
array[2] = 99; | |
array[3] = 1; | |
array[4] = 22; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package kr.opid.recusive; | |
public class Fibonacci { | |
public static void main(String[] args) { | |
System.out.println(fibo(1)); | |
System.out.println(fibo(2)); | |
System.out.println(fibo(3)); | |
System.out.println(fibo(4)); | |
System.out.println(fibo(5)); | |
} |