Leetcode/LeetCode75 67

[Linked List][Easy] 206. Reverse Linked List

https://leetcode.com/problems/reverse-linked-list/description Reverse Linked List - LeetCode Can you solve this real interview question? 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] O leetcode.com Q. 주어진 노드를 뒤집고, 그 head를 반환하라. Solution..

Leetcode/LeetCode75 2023.12.18

[Linked List][Medium] 328. Odd Even Linked List

https://leetcode.com/problems/odd-even-linked-list/description Odd Even Linked List - LeetCode Can you solve this real interview question? Odd Even Linked List - Given the head of a singly linked list, group all the nodes with odd indices together followed by the nodes with even indices, and return the reordered list. The first node is considered od leetcode.com Q. input list head가 주어질때, 홀수끼리먼저 ..

Leetcode/LeetCode75 2023.12.17

[Linked List][Medium] 2095. Delete the Middle Node of a Linked List

https://leetcode.com/problems/delete-the-middle-node-of-a-linked-list/description Delete the Middle Node of a Linked List - LeetCode Can you solve this real interview question? Delete the Middle Node of a Linked List - You are given the head of a linked list. Delete the middle node, and return the head of the modified linked list. The middle node of a linked list of size n is the ⌊n / leetcode.c..

Leetcode/LeetCode75 2023.12.16

[HashMap/Set][Medium] 2352. Equal Row and Column Pairs

https://leetcode.com/problems/equal-row-and-column-pairs/description Equal Row and Column Pairs - LeetCode Can you solve this real interview question? Equal Row and Column Pairs - Given a 0-indexed n x n integer matrix grid, return the number of pairs (ri, cj) such that row ri and column cj are equal. A row and column pair is considered equal if they contain th leetcode.com Q. 해당 모든 행의 값들 순서와 해당..

Leetcode/LeetCode75 2023.12.11

[HashMap/Set][Easy] 1207. Unique Number of Occurrences

https://leetcode.com/problems/unique-number-of-occurrences/description Unique Number of Occurrences - LeetCode Can you solve this real interview question? Unique Number of Occurrences - Given an array of integers arr, return true if the number of occurrences of each value in the array is unique or false otherwise. Example 1: Input: arr = [1,2,2,1,1,3] Output: tr leetcode.com Q. 주어진 정수배열 arr에서 각 ..

Leetcode/LeetCode75 2023.12.09

[PrefixSum][Easy] 724. Find Pivot Index

https://leetcode.com/problems/find-pivot-index/description Find Pivot Index - LeetCode Can you solve this real interview question? Find Pivot Index - Given an array of integers nums, calculate the pivot index of this array. The pivot index is the index where the sum of all the numbers strictly to the left of the index is equal to the sum of leetcode.com Q. 특정 index를 기준으로, 우측과 좌측의 합이 같다면, 이 index..

Leetcode/LeetCode75 2023.12.08