Notice
Recent Posts
Recent Comments
일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
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 |
Tags
- 프로그래머스
- Real or Not? NLP with Disaster Tweets
- 편스토랑 우승상품
- 더현대서울 맛집
- dacon
- 맥북
- ubuntu
- 파이썬
- gs25
- programmers
- 백준
- leetcode
- 금융문자분석경진대회
- Docker
- PYTHON
- 캐치카페
- 프로그래머스 파이썬
- github
- Baekjoon
- ChatGPT
- 우분투
- 데이콘
- SW Expert Academy
- hackerrank
- AI 경진대회
- 코로나19
- Kaggle
- Git
- 자연어처리
- 편스토랑
Archives
- Today
- Total
목록
반응형
1137. N-th Tribonacci Number (1)
반응형
솜씨좋은장씨
[leetCode] 1137. N-th Tribonacci Number (Python)
The Tribonacci sequence Tn is defined as follows: T0 = 0, T1 = 1, T2 = 1, and Tn+3 = Tn + Tn+1 + Tn+2 for n >= 0. Given n, return the value of Tn. Example 1: Input: n = 4 Output: 4 Explanation: T_3 = 0 + 1 + 1 = 2 T_4 = 1 + 1 + 2 = 4 Example 2: Input: n = 25 Output: 1389537 Constraints: 0
Programming/코딩 1일 1문제
2020. 11. 2. 00:17
반응형