Skip to content

Instantly share code, notes, and snippets.

# Client, Server의 버전 및 상태 확인
$ docker version
# 플러그인, 시스템 상세 정보 확인
$ docker info
# docker 가이드 확인
$ docker --help
$ docker container --help
$ docker container run --help
package com.example.javaspring.codingTest.leetcode;
import java.util.ArrayList;
import java.util.List;
public class ReorderLogFiles {
public String[] reorderLogFiles(String[] logs) {
List<String> letterList = new ArrayList<>();
List<String> digitList = new ArrayList<>();
@minsang-alt
minsang-alt / Application.java
Created October 20, 2023 05:14
1차 리펙토링
package baseball;
import camp.nextstep.edu.missionutils.Console;
import camp.nextstep.edu.missionutils.Randoms;
import java.util.ArrayList;
import java.util.List;
public class Application {
public static final int START_INCLUSIVE = 1;
@minsang-alt
minsang-alt / BinaryTreeTest.java
Created August 12, 2023 04:19
이진트리테스트
package com.javaStudyTest.binaryTree;
import org.junit.jupiter.api.BeforeEach;
import org.junit.jupiter.api.DisplayName;
import org.junit.jupiter.api.Test;
import static org.junit.jupiter.api.Assertions.*;
class BinaryTreeTest {
@minsang-alt
minsang-alt / BinaryTree.java
Created August 12, 2023 04:12
이진검색트리
package com.javaStudyTest.binaryTree;
import java.util.LinkedList;
import java.util.Queue;
public class BinaryTree {
private Node root;
public BinaryTree() {
this.root = null;
@minsang-alt
minsang-alt / Node.java
Created August 12, 2023 04:10
Node클래스
package com.javaStudyTest.binaryTree;
public class Node {
private int value;
private Node left;
private Node right;
public Node(int value){
this.value = value;
right = null;