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
- Baekjoon
- gs25
- 자연어처리
- programmers
- ChatGPT
- 우분투
- SW Expert Academy
- ubuntu
- 백준
- github
- 편스토랑 우승상품
- 프로그래머스 파이썬
- 더현대서울 맛집
- dacon
- 프로그래머스
- Git
- PYTHON
- hackerrank
- 캐치카페
- leetcode
- 맥북
- 금융문자분석경진대회
- Real or Not? NLP with Disaster Tweets
- 파이썬
- Kaggle
- 코로나19
- 데이콘
- Docker
- 편스토랑
- AI 경진대회
Archives
- Today
- Total
목록
반응형
two sum (1)
반응형
솜씨좋은장씨
[leetCode] 1. Two Sum (Python)
Given an array of integers, return indices of the two numbers such that they add up to a specific target. You may assume that each input would have exactly one solution, and you may not use the same element twice. Example: Given nums = [2, 7, 11, 15], target = 9, Because nums[0] + nums[1] = 2 + 7 = 9, return [0, 1]. Solution class Solution: def twoSum(self, nums: List[int], target: int) -> List[..
Programming/코딩 1일 1문제
2020. 7. 13. 23:35
반응형