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
- leetcode
- PYTHON
- AI 경진대회
- 파이썬
- 백준
- github
- 데이콘
- 프로그래머스 파이썬
- 편스토랑 우승상품
- 코로나19
- Docker
- ubuntu
- Real or Not? NLP with Disaster Tweets
- Baekjoon
- 편스토랑
- 캐치카페
- Git
- 맥북
- 더현대서울 맛집
- programmers
- Kaggle
- SW Expert Academy
- 프로그래머스
- 우분투
- ChatGPT
- gs25
- 자연어처리
- 금융문자분석경진대회
- dacon
- hackerrank
Archives
- Today
- Total
목록
반응형
77. Combinations (1)
반응형
솜씨좋은장씨
[leetCode] 77. Combinations (Python)
Given two integers n and k, return all possible combinations of k numbers out of 1 ... n. You may return the answer in any order. Example 1: Input: n = 4, k = 2 Output: [ [2,4], [3,4], [2,3], [1,2], [1,3], [1,4], ] Example 2: Input: n = 1, k = 1 Output: [[1]] Constraints: 1
Programming/코딩 1일 1문제
2020. 11. 18. 21:02
반응형