Skip to content

Instantly share code, notes, and snippets.

View enif-lee's full-sized avatar
😁

enif.lee enif-lee

😁
View GitHub Profile
@enif-lee
enif-lee / Radix.java
Last active July 15, 2016 06:37
Sort Algorithm
/**
* @author Lee Jinseoung
* @date 2016.07.14
*
* Radix Sort
*/
public class Radix {
/**
* Test Case
package algorithm.tree;
/**
* Created by Jinseoung on 2016-12-27.
*/
public class BinaryIndexedTree {
int[] numbers, tree;
/* how to get last binary number
package template;
import java.io.BufferedReader;
import java.io.IOException;
import java.io.InputStreamReader;
import java.util.StringTokenizer;
/**
* Created by Jinseoung on 2016-12-29.
*/
import java.util.Scanner;
/**
* Created by Jinseoung on 2016-12-30.
*/
public class ClasspathLoaderSample {
// if file is existed in src/main/resource/path/to/prob.testcase
static Scanner sc = new Scanner(ClassLoader.getSystemResourceAsStream("path/to/prob.testcase"));
public static void main(String[] args) {
package problem.boj;
import java.util.Scanner;
/**
* Created by Jinseoung on 2016-12-30.
*/
public class MaxValueAndMinValue {
// 세그먼트 트리 구현체
package problem.boj;
import java.util.ArrayList;
import java.util.Collections;
import java.util.Comparator;
import java.util.Scanner;
/**
* Created by Jinseoung on 2017-01-01.
*/
package problem.boj;
import java.util.Scanner;
/**
* Created by Jinseoung on 2017-01-01.
*/
public class Anagram {
static boolean isAnagram (String s1, String s2) {
package problem.boj;
import java.util.Scanner;
/**
* Created by Jinseoung on 2017-01-01.
*/
public class AnagramDistance {
static Scanner sc = new Scanner(ClassLoader.getSystemResourceAsStream("problem/boj/AnagramDistance.testcase"));
package problem.boj;
import java.util.Scanner;
/**
* Created by Jinseoung on 2017-01-01.
*/
public class ValueToAnagram {
static Scanner sc = new Scanner(ClassLoader.getSystemResourceAsStream("problem/boj/ValueToAnagram.testcase"));
package problem.boj;
import java.util.ArrayList;
import java.util.Collections;
import java.util.Comparator;
import java.util.Scanner;
/**
* Created by Jinseoung on 2017-01-01.
*/