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
- DP
- Binary
- HashTable
- 미디움
- 이진트리
- binary search
- Depth-first Search
- Array
- list
- sorting
- math
- binary tree
- Medium
- Python
- string
- dfs
- backtracking
- linked list
- hash table
- matrix
- 문자열
- recursive
- leetcode
- tree
- 재귀
- 쉬움
- 리트코드
- easy
- 중간
- two pointers
Archives
- Today
- Total
목록Add Digits (1)
부부의 코딩 성장 일기
LeetCode 258(Add Digits, Python)
1. 문제 링크 https://leetcode.com/problems/add-digits/description/ 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. 문제 설명 정수 num이 주어졌을 때, 반복해서 각 자릿수를 더하여, 더한 값이 한자리가 될 때까지 반복하여, 해당 값을 반환 예시) num=38이라면, 3과 8을 더하면 11. 11은 두자리수이..
Algorithm/LeetCode
2024. 2. 20. 19:00