현실을 넘어
close
프로필 배경
프로필 로고

현실을 넘어

  • 분류 전체보기
    • 자바
      • 일반
      • 알고리즘
      • 객사오
      • 스프링입문객체지향
      • 리팩토링
      • 스프링부트3
      • JPA
      • QueryDsl
      • Spring Security
    • 코틀린
      • 코틀린인액션
      • 알고리즘
    • 일 관련 삽질
    • JIRA
    • 도메인주도개발
    • DB
      • Mysql
    • MQ
      • Apache Kafka
    • Docker-Kubernetes
    • GITHUB
    • REST API
    • 리눅스
  • 홈
  • 태그
  • 방명록

프로그래머스 숫자 문자열과 영단어

프로그래머스 1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253package test; /* */ public class lv1숫자_문자열과_영단어 { public static void main(String[] args) { String s = "one4seveneight"; Solution2 solution2 = new Solution2(); solution2.solution(s); }} class Solution2 { public int solution(String s) { String[] words = new String[]{"zero", "one", "two", "three"..

  • format_list_bulleted 자바/알고리즘
  • · 2021. 12. 29.
  • textsms

프로그래머스 lv1 : 완주하지 못한 선수

import java.util.*; class Solution { public String solution(String[] participant, String[] completion) { Arrays.sort(participant); Arrays.sort(completion); int i = 0; for ( i = 0; i < completion.length; i++) { if (!participant[i].equals(completion[i])) { break; } } return participant[i]; } }

  • format_list_bulleted 자바/알고리즘
  • · 2021. 12. 28.
  • textsms

프로그래머스 lv1 : 완주하지 못한 선수

import java.util.*; class Solution { public String solution(String[] participant, String[] completion) { Arrays.sort(participant); Arrays.sort(completion); int i = 0; for ( i = 0; i < completion.length; i++) { if (!participant[i].equals(completion[i])) { break; } } return participant[i]; } }

  • format_list_bulleted 자바/알고리즘
  • · 2021. 12. 28.
  • textsms

[카카오 인턴] 키패드 누르기

import java.util.ArrayList; import java.util.Arrays; import java.util.List; class Solution { public String solution(int[] numbers, String hand) { List listNumbers = new ArrayList(); int X1_L = 0; int Y1_L = 3; int X1_R = 2; int Y1_R = 3; for (int i = 0; i < numbers.length; i++) { if (numbers[i] == 1 || numbers[i] == 4 || numbers[i] == 7) { listNumbers.add("L"); switch (numbers[i]) { case 1: X1_L..

  • format_list_bulleted 자바/알고리즘
  • · 2021. 12. 28.
  • textsms

프로그래머스 lv1: 로또의 최고 순위와 최저 순위

import java.util.Arrays; class Solution { public int[] solution(int[] lottos, int[] win_nums) { Arrays.sort(lottos); Arrays.sort(win_nums); int count = 0; int zeroCount = 0; int rank = 0; System.out.println("win_nums = " + Arrays.toString(win_nums)); System.out.println("lottos = " + Arrays.toString(lottos)); for (int i = 0; i < lottos.length; i++) { if (lottos[i] != 0) { for (int j = 0; j < win_..

  • format_list_bulleted 자바/알고리즘
  • · 2021. 12. 28.
  • textsms

백준 9095번 1,2,3 더하기

https://www.acmicpc.net/problem/9095 9095번: 1, 2, 3 더하기 각 테스트 케이스마다, n을 1, 2, 3의 합으로 나타내는 방법의 수를 출력한다. www.acmicpc.net import java.util.Scanner; public class Main { public static void main(String[] args) { int dp[] = new int[11]; //최대 11까지만 한다고 했으니까. Scanner sc = new Scanner(System.in); int t = sc.nextInt(); dp[1] = 1; //초기값의 초기화 dp[2] = 2; dp[3] = 4; for (int i = 4; i

  • format_list_bulleted 자바/알고리즘
  • · 2021. 7. 23.
  • textsms
  • navigate_before
  • 1
  • ···
  • 5
  • 6
  • 7
  • 8
  • 9
  • navigate_next
공지사항
  • ㅇ
전체 카테고리
  • 분류 전체보기
    • 자바
      • 일반
      • 알고리즘
      • 객사오
      • 스프링입문객체지향
      • 리팩토링
      • 스프링부트3
      • JPA
      • QueryDsl
      • Spring Security
    • 코틀린
      • 코틀린인액션
      • 알고리즘
    • 일 관련 삽질
    • JIRA
    • 도메인주도개발
    • DB
      • Mysql
    • MQ
      • Apache Kafka
    • Docker-Kubernetes
    • GITHUB
    • REST API
    • 리눅스
최근 글
인기 글
최근 댓글
태그
  • #자바
  • #Kotlin
  • #객체지향
  • #JPA
  • #ddd
  • #알고리즘
  • #객사오
  • #QueryDSL
  • #리팩토링
  • #도메인주도개발
전체 방문자
오늘
어제
전체
Copyright © 쭈미로운 생활 All rights reserved.
Designed by JJuum

티스토리툴바