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