Notice
Recent Posts
Recent Comments
Link
일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
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 |
Tags
- leetcode
- string
- 문자열
- Python
- math
- HashTable
- 쉬움
- DP
- 미디움
- binary tree
- 리트코드
- tree
- 이진트리
- list
- 재귀
- easy
- Array
- matrix
- backtracking
- Medium
- Binary
- dfs
- two pointers
- Depth-first Search
- linked list
- sorting
- 중간
- recursive
- hash table
- binary search
Archives
- Today
- Total
목록2024/03/13 (1)
부부의 코딩 성장 일기
LeetCode 326(Power of Three, Python)
1. 문제 링크 https://leetcode.com/problems/power-of-three/ LeetCode - The World's Leading Online Programming Learning Platform 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. 문제 설명 정수 n이 주어졌을 때, 3의 거듭제곱이라면 True를 그렇지 않다면 False를 반환 즉, n에 대하여 n == 3^x 가 되는 정수 x가 존재한다면 True를 반환한다. 예시1) n= 27이면, ..
Algorithm/LeetCode
2024. 3. 13. 19:00