王廷瑋|數位醫療|智慧醫療: Leetcode 筆記 WFU

2024年7月1日 星期一

Leetcode 筆記

1. Two sum
2. Add Two Numbers
15. 3Sum
18. 4Sum
135. Candy
227. Basic Calculator II
228. Summary Ranges
229. Majority Element II
230. Kth Smallest Element in a BST
231. Power of Two
232. Implement Queue using Stacks
233. Number of Digit One
234. Palindrome Linked List
235. Lowest Common Ancestor of a Binary Search Tree
236. Lowest Common Ancestor of a Binary Tree
237. Delete Node in a Linked List
238. Product of Array Except Self
239. Sliding Window Maximum
240. Search a 2D Matrix II
241. Different Ways to Add Parentheses
242. Valid Anagram
243. Shortest Word Distance
244. Shortest Word Distance II
245. Shortest Word Distance III
246. Strobogrammatic Number
247. Strobogrammatic Number II
248. Strobogrammatic Number III
249. Group Shifted Strings
250. Count Univalue Subtrees