PostAddsense


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

1 2 3

Bonuses

Codepublic class Bonuses{    public int[] getDivision(int[] points) {        int len = points.length;      &...

ArithmeticSequenceDiv1

Codepublic class ArithmeticSequenceDiv1 {    public int findMinCost(int[] x) {        int n = x.length;      ...

RepeatedSubstrings

Codepublic class RepeatedSubstrings{    public String decompress(String compressed) {        String[] sp = compressed.split("\\s*[^0-9]+\\...

T9Input

Codeimport java.util.Arrays;import java.util.HashMap;import java.util.TreeSet;public class T9Input {    public String[] getKeypresses(String[] messages) {    ...

WordForm

Codepublic class WordForm {    // The problem name is Stemmer.    public String getSequence(String word) {        word = word.to...

SkipRope

Codeimport java.util.Arrays;public class SkipRope{    public int[] partners(int[] candidates, int height) {        Arrays.sort(candidates)...

BadClock

Codepublic class BadClock{    public double nextAgreement (String trueTime, String skewTime, int hourlyGain) {        double tSec = Double...

AustrianLotto

Codepublic class AustrianLotto{    public int[] evaluate(String drawing, String[] picks) {        boolean[] n = new boolean[46]; &nbs...

Swimmers

Codepublic class Swimmers{    public int[] getSwimTimes(int[] distances, int[] speeds, int current) {        int[] res = new int[distances...

MineField

Codepublic class MineField{    public String[] getMineField(String mineLocations) {        char[][] board = new char[9][9];  &nb...
1 2 3