leetcode.com/problems/count-primes/ Count Primes - LeetCode Level up your coding skills and quickly land a job. This is the best place to expand your knowledge and get prepared for your next interview. leetcode.com 문제 n보다 작은 수 중에서 소수의 개수를 구하시오 소수 : 1보다 큰 자연수 중 1과 자기 자신만을 약수로 가지는 수 ex) 5 => 1×5 또는 5×1로 수를 곱한 결과를 적는 유일한 방법이 그 수 자신을 포함하기 때문에 5는 소수 어떻게 풀까 에라토스테네스의 체라는 소수판별 알고리즘을 사용해 문제를 풀자 1. 2부터 소수..
leetcode.com/problems/1-bit-and-2-bit-characters/ 1-bit and 2-bit Characters - LeetCode Level up your coding skills and quickly land a job. This is the best place to expand your knowledge and get prepared for your next interview. leetcode.com 문제 0, 10, 11을 통해 비트를 만드는데 가장 마지막 캐릭터가 0인지 아닌지를 구하라. ( 주어진 문자열은 항상 0으로 끝난다. ) 어떻게 풀까? 먼저, 뒤에서 두번째 자리수가 0일경우 항상 true를 리턴 한다. 위 경우가 아닐경우 for문을 돌면서 뒤에서 두번째 자리의..
- Total
- Today
- Yesterday
- Docker
- java
- 별찍기-10
- leetcode 349
- webhook
- Jenkins
- leetcode 204
- 릿코드
- leetcode 69
- Github
- leetcode 35
- leetcode 350
- 백준
- Leetcode717
- leetcode 167
- 뒤늦은 1년 후기
- ngrok
- 언제까지할수있을까
- 티스토리코드작성
- binarySearch
- LeetCode
- elastic ip
- 도커
- binary search
- xmlpullparserexceptioin
- config.xml
- leetcode 278
- 2447
- 1491
- gradle빌드
일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
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 | 31 |