TIL
TIL 241107
muerha
2024. 11. 7. 21:57
오늘 한 것
- 코드카타
[프로그래머스] 콜라츠 추측(Java) *
나의 코드class Solution { public int solution(int num) { int count = 0; if (num == 1) { return 0; } while( num != 1){ if(num % 2 == 0){ num /= 2; }else { num = (num * 3) + 1; } count ++; if(count == 500){ return -1; } ..
muerha.tistory.com
- 베이직반 강의 - Spring 기초
- 일정 관리 앱 과제 진행
어렵다 어려워..