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 | 31 |
Tags
- 금융문자분석경진대회
- hackerrank
- SW Expert Academy
- 편스토랑
- Baekjoon
- AI 경진대회
- github
- 백준
- 파이썬
- leetcode
- 자연어처리
- 더현대서울 맛집
- Kaggle
- 캐치카페
- gs25
- PYTHON
- 편스토랑 우승상품
- Docker
- dacon
- programmers
- ubuntu
- 맥북
- Git
- 프로그래머스 파이썬
- 데이콘
- Real or Not? NLP with Disaster Tweets
- 프로그래머스
- ChatGPT
- 우분투
- 코로나19
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
반응형