PostAddsense


태그 : AdvancedMath 요약보기전체보기목록닫기

1

Lottery

Codeimport java.util.Arrays;import java.util.Comparator;public class Lottery{    long perm(long a, long b) {        long num = 1; &nb...

GreedyChange

Codeimport java.util.Arrays;public class GreedyChange{    public int smallest(int[] denoms) {        Arrays.sort(denoms);   ...

GoldenChain

Codeimport java.util.Arrays;public class GoldenChain{    public int minCuts(int[] s) {        int res=0, last=s.length-1;        Arrays.sort(s);&nbs...
1