Notice
Recent Posts
Recent Comments
Link
일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
1 | ||||||
2 | 3 | 4 | 5 | 6 | 7 | 8 |
9 | 10 | 11 | 12 | 13 | 14 | 15 |
16 | 17 | 18 | 19 | 20 | 21 | 22 |
23 | 24 | 25 | 26 | 27 | 28 |
Tags
- 스파르타코딩클럽
- 시큐리티
- emqx
- 카프카
- Kafka
- DB
- 쇼트유알엘
- 프로그래머스
- 스프링의 정석
- 항해99
- MYSQL
- docker
- Spring
- @jsonproperty
- JavaScript
- 개인프로젝트
- 웹개발
- 생성자 주입
- EC2
- 데이터베이스
- AWS
- JWT
- Spring Security
- CentOS
- 스웨거
- visualvm
- 패스트캠퍼스
- java
- WEB SOCKET
- 남궁성과 끝까지 간다
Archives
- Today
- Total
목록아이스아메리카노 (1)
Nellie's Blog
[프로그래머스 입문] 아이스 아메리카노
머쓱이는 추운 날에도 아이스 아메리카노만 마십니다. 아이스 아메리카노는 한잔에 5,500원입니다. 머쓱이가 가지고 있는 돈 money가 매개변수로 주어질 때, 머쓱이가 최대로 마실 수 있는 아메리카노의 잔 수와 남는 돈을 순서대로 담은 배열을 return 하도록 solution 함수를 완성해보세요. 입출력 예 money result 5,500 [1, 0] 15,000 [2, 4000] class Solution { public int[] solution(int money) { int[] answer = {}; return answer; } } 내 풀이 class Solution { public int[] solution(int money) { return new int[] { money/5500, mon..
Back-end/Algorithm
2023. 6. 14. 23:47