일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
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 |
29 | 30 |
Tags
- 프로그래머스
- sql
- java
- JAVA11
- 반복문
- 리눅스
- 2차원배열
- 코딩테스트
- 목록
- 로그인
- StyleSheet
- codingtest
- 시큐리티 로그아웃
- css
- 시큐리티 로그인
- security
- Linux
- gradle
- javascript
- 소스트리
- Spring boot
- input태그
- programmers
- 시큐리티
- 시큐리티로그인
- html
- 싱글톤
- springboot
- springSecurity
- 스프링 부트
Archives
- Today
- Total
목록2진법 (1)
JAVAIARY
프로그래머스 ) 이진 변환 반복하기
문제: https://school.programmers.co.kr/learn/courses/30/lessons/70129 프로그래머스 코드 중심의 개발자 채용. 스택 기반의 포지션 매칭. 프로그래머스의 개발자 맞춤형 프로필을 등록하고, 나와 기술 궁합이 잘 맞는 기업들을 매칭 받으세요. programmers.co.kr import java.util.ArrayList; class Solution { public static int[] solution(String s) { int zeroCnt = 0; int cnt =0; while(!s.equals("1")) { int num = 0; // 1 개수 == 숫자 // 0 제거 for (int i = 0; i < s.length(); i++) { if (s...
examplePractice
2023. 4. 4. 17:42