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
- ChatGPT
- 맥북
- 더현대서울 맛집
- 데이콘
- dacon
- PYTHON
- 금융문자분석경진대회
- github
- 캐치카페
- Kaggle
- Docker
- 코로나19
- gs25
- Baekjoon
- 프로그래머스 파이썬
- Real or Not? NLP with Disaster Tweets
- Git
- 우분투
- 편스토랑
- 자연어처리
- 백준
- 파이썬
- hackerrank
- programmers
- 편스토랑 우승상품
- leetcode
- 프로그래머스
- SW Expert Academy
- ubuntu
- AI 경진대회
Archives
- Today
- Total
목록
반응형
328. Odd Even Linked List (1)
반응형
솜씨좋은장씨
[leetCode] 328. Odd Even Linked List (Python)
Given a singly linked list, group all odd nodes together followed by the even nodes. Please note here we are talking about the node number and not the value in the nodes. You should try to do it in place. The program should run in O(1) space complexity and O(nodes) time complexity. Example 1: Input: 1->2->3->4->5->NULL Output: 1->3->5->2->4->NULL Example 2: Input: 2->1->3->5->6->4->7->NULL Outpu..
Programming/코딩 1일 1문제
2021. 1. 30. 21:17
반응형