leetcode.com/problems/available-captures-for-rook/ Available Captures for Rook - 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 문제 화이트 룩 'R'은 한개, 화이트 비숍 'B'과 블랙 폰 'p' 여러개와 빈공간 '.'로 구성되어있는 8*8 체스보드가 있다. 룩의 이동 -> 동서남북으로 몇칸이든 이동가능. 블랙 폰을 잡거나 화이트비숍에 의해 이동하지 못할 수 있음. 룩 차례에 한번에 잡을 수 있는 ..
leetcode.com/problems/array-partition-i/ Array Partition I - 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 문제 2배수길이의 배열이 주어진다. 두개씩 짝지었을때 작은 값들의 최대 합을 구하라 EX) [1,4,3,2] 1. (1, 4), (2, 3) -> min(1, 4) + min(2, 3) = 1 + 2 = 3 2. (1, 3), (2, 4) -> min(1, 3) + min(2, 4) = 1 + 2 = 3 3...
leetcode.com/problems/add-to-array-form-of-integer/ Add to Array-Form of Integer - 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 문제 전달한 한자리수 숫자를 담고있는 num배열과 k숫자를 더한 결과를 한자리수 배열로 만들어라 어떻게 풀까? num배열로 받은 한자리 숫자 배열을 붙여서 숫자로 만든다. -> [1,2,3] = 123 k와 num배열로 만든 숫자를 더한다음 스트링으로 만든다. 스트링에서..
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
- Jenkins
- 언제까지할수있을까
- binary search
- leetcode 167
- gradle빌드
- leetcode 204
- elastic ip
- java
- 티스토리코드작성
- 2447
- 별찍기-10
- LeetCode
- 도커
- 뒤늦은 1년 후기
- leetcode 35
- xmlpullparserexceptioin
- ngrok
- config.xml
- leetcode 69
- 1491
- binarySearch
- leetcode 278
- 릿코드
- Github
- 백준
- leetcode 350
- Leetcode717
- leetcode 349
- webhook
일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
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 |