UB coding leetcode

Contents

Problem

- [✅] Leetcode 14. Longest Common Prefix

- [‼️] Leetcode 79. Word Search DFS

- [✅] Leetcode 200. Number of Islands

- [✅] Leetcode 204. Count Primes

- [✅] Leetcode 207. Course Schedule

- [‼️] Leetcode 212. Word Search II Trie + DFS

- [‼️] Leetcode 214. Shortest Palindrome manacher / KMP

- [‼️] Leetcode 230. Kth Smallest Element in a BST 中序遍历

- [✅] Leetcode 239. Sliding Window Maximum 单调队列

- [✅] Leetcode 253. Meeting Rooms II 时间排序+heap

- [‼️] Leetcode 269. Alien Dictionary 默写题目

- [‼️] Leetcode 305. Number of Islands II union find

- [✅] Leetcode 362. Design Hit Counter queue, follow up每人一个queue或者桶

- [‼️] Leetcode 365. Water and Jug Problem DFS状态判断环

- [‼️] Leetcode 380. Insert Delete GetRandom O(1)

- [‼️] Leetcode 381. Insert Delete GetRandom O(1) - Duplicates allowed 删除的跟队尾交换,删除队尾

- [✅] Leetcode 399. Evaluate Division 跟汇率一个题目

- [‼️] Leetcode 410. Split Array Largest Sum 注意二分检查写法

- [‼️] Leetcode 427. Construct Quad Tree 前缀区域和公式

- [✅] Leetcode 549. Binary Tree Longest Consecutive Sequence II 二叉树左右返回

- [‼️] Leetcode 564. Find the Closest Palindrome 默写

- [✅] Leetcode 588. Design In-Memory File System Trie Tree

- [‼️] Leetcode 721. Accounts Merge 注意如何建图和保存

- [‼️] Leetcode 729. My Calendar I 前边的跟end,后边的跟start比

- [‼️] Leetcode 752. Open the Lock BFS visit在加queue时加

- [‼️] Leetcode 815. Bus Routes 对公交和route都要去重

- [‼️] Leetcode 934. Shortest Bridge DFS + BFS / 双向广搜

- [‼️] Leetcode 977. Squares of a Sorted Array 第K大,二分解法

- [✅] Leetcode 994. Rotting Oranges

- [✅] Leetcode 1101. The Earliest Moment When Everyone Become Friends

- [‼️] Leetcode 1235. Maximum Profit in Job Scheduling DP 二分

- [‼️] Leetcode 1428. Leftmost Column with at Least a One

- [‼️] Leetcode 1429. First Unique Number LRU, LinkedHashSet()

- [✅] Leetcode 1438. Longest Continuous Subarray With Absolute Diff Less Than or Equal to Limit monotonic queue

- [‼️] Leetcode 1475. Final Prices With a Special Discount in a Shop 单调栈

- [‼️] Leetcode 2163. Minimum Difference in Sums After Removal of Elements two heap

- [‼️] Leetcode 2258. Escape the Spreading Fire BFS FireTime, BFS human

- [ ] Leetcode 2468. Split Message Based on Limit

- [‼️] Leetcode 2571. Minimum Operations to Reduce an Integer to 0 greedy

- [ ] Leetcode 2791. Count Paths That Can Form a Palindrome in a Tree

- [ ] Leetcode 2858. Minimum Edge Reversals So Every Node Is Reachable

Contents