오늘 한 것
- 코드카타
[프로그래머스] 콜라츠 추측(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 기초
- 일정 관리 앱 과제 진행
어렵다 어려워..
'TIL' 카테고리의 다른 글
| TIL 241111 (0) | 2024.11.11 |
|---|---|
| TIL 241108 (0) | 2024.11.08 |
| TIL 241106 (0) | 2024.11.06 |
| TIL 241105 (0) | 2024.11.05 |
| TIL 241104 (0) | 2024.11.04 |