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