Leetcode 刷題筆記 整理 Leetcode 刷過的題做的筆記 2021-07-22 software/leetcode [LeetCode] #300 Longest Increasing Subsequence 給定一個數列,取其中若干不連續從小到大排列的數字,求該數列最大可能長度 2020-10-17 software/leetcode [LeetCode] #198 House Robber 給一個整數陣列,找最大可能的不相鄰數總合 2020-09-18 software/leetcode [LeetCode] #105 Construct Binary Tree from Preorder and Inorder Traversal 提供 Preorder 和 Inorder 順序,重建出整棵樹 2020-08-28 software/leetcode [LeetCode] #1239 Maximum Length of a Concatenated String with Unique Characters 提供一些字串,用其組合出不重複字元的字串,找出最大的可能長度 2020-08-27 software/leetcode [LeetCode] #148 Sort List 將一個 linked list 排序 2020-08-19 software/leetcode [LeetCode] #138 Copy List with Random Pointer Deepcopy 一個有 random pointer 的 linked list 2020-08-19 software/leetcode [LeetCode] #25 Reverse Nodes in k-Group 給一個 linked list,以連續 k 個為一組,將每組都 revert,所最後出現不滿 k 個的組,該組維持不變 2020-08-15 software/leetcode [LeetCode] #41 First Missing Positive 找出不存在數列中的最小正整數 2020-08-13 software/leetcode [HackerRank] Deque-STL (Sliding Window Maximum) 給一個數列,不斷找出滑動的固定長度區間的最大值 2020-08-09 software/leetcode [HackerRank] Permutations of Strings 產生所有排列組合 2020-07-31 software/leetcode [LeetCode] #79 Word Search 二維陣列中某字串是否存在 2020-07-23 software/leetcode