lp01 : Leetcode practice with linked lists
| num | ready? | description | assigned | due |
|---|---|---|---|---|
| lp01 | true | Leetcode practice with linked lists | Mon 03/31 09:00AM | Fri 05/30 11:59AM |
Additional Practice with linked lists
Note: A maximum of two medium difficulty problems from this problem set will count toward the 10% overall grade for Leet Code problems. Submit direct links to your solution for at least 2 problems on the assignment on Gradescope by the due date..
- Reverse a singly linked list (easy): https://leetcode.com/problems/reverse-linked-list/. Note that in lecture 1 we coded an iterative implementation for problem #1. Try solving the same problem recursively.
- Merge two sorted lists(easy): https://leetcode.com/problems/merge-two-sorted-lists/
- Remove duplicates from sorted lists (easy): https://leetcode.com/problems/remove-duplicates-from-sorted-list/
- Middle of the Linked List (easy): https://leetcode.com/problems/middle-of-the-linked-list/
- Delete Node in a Linked List (medium): https://leetcode.com/problems/delete-node-in-a-linked-list/description/
- Insert Greatest Common Divisor in a Linked List (medium): https://leetcode.com/problems/insert-greatest-common-divisors-in-linked-list/description/
- Partition a linked list (medium): https://leetcode.com/problems/partition-list/description/?envType=problem-list-v2&envId=linked-list
- Rotate list (medium): https://leetcode.com/problems/rotate-list/description/
- LinkedList Cycle II (medium): https://leetcode.com/problems/linked-list-cycle-ii/description/
- Delete the middle node of a linked list (medium): https://leetcode.com/problems/delete-the-middle-node-of-a-linked-list/description/?envType=problem-list-v2&envId=linked-list