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
- Python
- 오블완
- CNN
- adaptive remeshing
- 티스토리챌린지
- sort
- 대학생
- Data_Structure
- 컴퓨터공학
- Leet Code
- meshgraphnet
- code
- Database
- 자료구조
- Mesh
- 개발자
- 컴퓨터사이언스
- mysql
- LeetCode
- 코테
- CS
- 데베
- 데이터
- DS
- 데이터베이스
- GNN
- db
- SQL
- 코딩테스트
- coding
Archives
- Today
- Total
목록Array (1)
sy1214ei 님의 블로그
https://leetcode.com/problems/two-sum/description/Level: EasyTopics: Array | Hash Tableclass Solution: def twoSum(self, nums: List[int], target: int) -> List[int]: """ 1. for i, num in enumerate(nums) : 뭔가 순회를 해야 찾든말든 할것임 2. 우리가 찾는 것 find = target - num 3. 만약 hash_table에 find가 있다면 return 4. hash_table[num] = i """ hash_table = {} for i, ..
[Coding]
2024. 12. 3. 00:25