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
- 데이콘
- 편스토랑
- 우분투
- programmers
- 금융문자분석경진대회
- leetcode
- gs25
- 더현대서울 맛집
- 캐치카페
- AI 경진대회
- Real or Not? NLP with Disaster Tweets
- Kaggle
- ubuntu
- 코로나19
- 자연어처리
- 프로그래머스
- 프로그래머스 파이썬
- 백준
- 파이썬
- dacon
- Baekjoon
- Docker
- ChatGPT
- PYTHON
- 맥북
- Git
- hackerrank
- 편스토랑 우승상품
- github
- SW Expert Academy
Archives
- Today
- Total
목록
반응형
2020/12/26 (1)
반응형
솜씨좋은장씨
[leetCode] 92. Reverse Linked List II (Python)
Reverse a linked list from position m to n. Do it in one-pass. Note: 1 ≤ m ≤ n ≤ length of list. Example: Input: 1->2->3->4->5->NULL, m = 2, n = 4 Output: 1->4->3->2->5->NULL 첫번째 시도 # Definition for singly-linked list. # class ListNode: # def __init__(self, val=0, next=None): # self.val = val # self.next = next class Solution: def reverseBetween(self, head: ListNode, m: int, n: int) -> ListNode:..
Programming/코딩 1일 1문제
2020. 12. 26. 17:42
반응형