lp03 : Leetcode practice with stacks and queues
| num | ready? | description | assigned | due |
|---|---|---|---|---|
| lp03 | true | Leetcode practice with stacks and queues | Thu 04/24 09:00AM | Fri 05/30 11:59AM |
Additional Practice Problems
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..
- Implement Queue using Stacks (easy): https://leetcode.com/problems/implement-queue-using-stacks/description/
- Implement Stack using Queues (easy): https://leetcode.com/problems/implement-stack-using-queues/description/
- Valid Parentheses (easy): https://leetcode.com/problems/valid-parentheses/description/
- Remove All Adjacent Duplicates in String (easy): https://leetcode.com/problems/remove-all-adjacent-duplicates-in-string/description/
- Min Stack (medium): https://leetcode.com/problems/min-stack/description/
- Level Order Traversal of Binary Tree (medium): https://leetcode.com/problems/binary-tree-level-order-traversal/description/?envType=problem-list-v2&envId=binary-tree
- Binary Level Order Traversal II (medium): https://leetcode.com/problems/binary-tree-level-order-traversal-ii/description/?envType=problem-list-v2&envId=binary-tree
- Daily temperatures (stacks): https://leetcode.com/problems/daily-temperatures/
(solved in lecture)
Optional challenge (not included on exams)
-
Reveal Cards In Increasing Order (medium): https://leetcode.com/problems/reveal-cards-in-increasing-order/description/
- Find The Winner Of The Circular Game (medium):https://leetcode.com/problems/find-the-winner-of-the-circular-game/description/