알고리즘

algorithm

[프로그래머스] Lv 1 완주하지 못한 선수

자세한 설명 클릭 GitHub - leemeo3/algorithm: This is a auto push repository for Baekjoon Online Judge created with [BaekjoonHub](https://github.c This is a auto push repository for Baekjoon Online Judge created with [BaekjoonHub](https://github.com/BaekjoonHub/BaekjoonHub). - GitHub - leemeo3/algorithm: This is a auto push repository for Bae... github.com

algorithm

[프로그래머스] Lv 1 하샤드 수

주석문을 보면 알겠지만 이번엔 일부로 코드가 깔끔한 코드를 먼저 올려봤다. 만약 저 코드를 저렇게 요약하지 않고 내 방식대로 썼다면 아래와 같다. 위 사진을 보면 맨처음에 올렸던 코드가 정말 간결하다는걸 알 수 있다. 내가 봐도 보기가 편하고 깔끔하다. 제일 위 사진과 같은 코딩을 하자.

algorithm

[프로그래머스] Lv 1 콜라츠 추측

근데 이러한 코딩법 자체가 또 코딩테스트를 통과하기 위한 코딩으로 어떻게 보면 다른 생각없이 가장 효율적으로 해결하는 방법일 듯 하다.

algorithm

[프로그래머스] Lv 1 정수 제곱근 판별

이 문제는 sqrt 함수를 알고 있었다면 아주 쉽게 풀 수 있는 문제였다. 함수의 활용은 코드를 굉장히 간결하게 해주기 때문에 될 수 있으면 찾을 수 있다면 무조껀 함수를 활용하자

algorithm

[프로그래머스] Lv 1 정수 내림차순으로 배치하기

자세한 설명 클릭 GitHub - leemeo3/algorithm: This is a auto push repository for Baekjoon Online Judge created with [BaekjoonHub](https://github.c This is a auto push repository for Baekjoon Online Judge created with [BaekjoonHub](https://github.com/BaekjoonHub/BaekjoonHub). - GitHub - leemeo3/algorithm: This is a auto push repository for Bae... github.com

algorithm

[프로그래머스] Lv 1 자연수 뒤집어 배열로 만들기

자세한 정보 클릭 GitHub - leemeo3/algorithm: This is a auto push repository for Baekjoon Online Judge created with [BaekjoonHub](https://github.c This is a auto push repository for Baekjoon Online Judge created with [BaekjoonHub](https://github.com/BaekjoonHub/BaekjoonHub). - GitHub - leemeo3/algorithm: This is a auto push repository for Bae... github.com answer[cnt++] = Integer.parseInt(String.valueOf..

algorithm

[프로그래머스] Lv 1 자릿수 더하기

자세한 정보 클릭 GitHub - leemeo3/algorithm: This is a auto push repository for Baekjoon Online Judge created with [BaekjoonHub](https://github.c This is a auto push repository for Baekjoon Online Judge created with [BaekjoonHub](https://github.com/BaekjoonHub/BaekjoonHub). - GitHub - leemeo3/algorithm: This is a auto push repository for Bae... github.com charAt 자료형을 쓰면은 문자가 아스키코드로 변환되기때문에 String.value..

algorithm

[프로그래머스] Lv 1 문자열 내림차순으로 배치하기

자세한 정보 클릭 GitHub - leemeo3/algorithm: This is a auto push repository for Baekjoon Online Judge created with [BaekjoonHub](https://github.c This is a auto push repository for Baekjoon Online Judge created with [BaekjoonHub](https://github.com/BaekjoonHub/BaekjoonHub). - GitHub - leemeo3/algorithm: This is a auto push repository for Bae... github.com 문자열을 char 자료형으로 변환해 배열로 만들면 아스키코드로 변환되기 때문에 그 값..

3hoon
'알고리즘' 태그의 글 목록 (2 Page)