일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
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 |
- 발리인망원
- algorithm
- map
- 른당사피
- string
- LeetCode
- findDulicate
- Array
- two sum
- two pointers
- 투포인터
- Find the Duplicate Number
- algorithum
- 6월 첼린지
- 알탕뚝배기
- java
- tree
- Python
- 코테
- 발리 음식
- invert Binary Tree
- 해물감성포차
- 코딩 테세트
- 사당돈
- 알고리즘
- prefix sum
- 망원 밥집
- linked list
- 맛집
- 코딩 테스트
- Today
- Total
목록linked list (3)
기록하는 공간
Middle of the Linked List - LeetCode Middle of the Linked List - Given the head of a singly linked list, return the middle node of the linked list. If there are two middle nodes, return the second middle node. Example 1: [https://assets.leetcode.com/uploads/2021/07/23/lc-midlist1.jpg] Inpu leetcode.com # Definition for singly-linked list. # class ListNode: # def __init__(self, val=0, next=None):..
Reverse Linked List - LeetCode Reverse Linked List - Given the head of a singly linked list, reverse the list, and return the reversed list. Example 1: [https://assets.leetcode.com/uploads/2021/02/19/rev1ex1.jpg] Input: head = [1,2,3,4,5] Output: [5,4,3,2,1] Example 2: [https://asset leetcode.com # Definition for singly-linked list. # class ListNode: # def __init__(self, val=0, next=None): # sel..
Merge Two Sorted Lists - LeetCode Merge Two Sorted Lists - You are given the heads of two sorted linked lists list1 and list2. Merge the two lists in a one sorted list. The list should be made by splicing together the nodes of the first two lists. Return the head of the merged linked list. leetcode.com # Definition for singly-linked list. # class ListNode: # def __init__(self, val=0, next=None):..