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
- backtracking
- math
- Python
- list
- HashTable
- 미디움
- easy
- 리트코드
- tree
- 쉬움
- string
- dfs
- Array
- hash table
- leetcode
- matrix
- binary tree
- 문자열
- Binary
- linked list
- 중간
- sorting
- DP
- two pointers
- recursive
- Depth-first Search
- Medium
- binary search
- 재귀
- 이진트리
Archives
- Today
- Total
목록Power of Three (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