LeetCode 筆記 - 350. Intersection of Two Arrays II
題目在此 350. Intersection of Two Arrays II
請找出兩個數列之間重複的元素
題目在此 350. Intersection of Two Arrays II
請找出兩個數列之間重複的元素
題目在此 349. Intersection of Two Arrays
請找出兩個數列之間重複的元素
題目在此 567. Permutation in String
給定兩個字串,請判斷 s1 的所有排列組合,是否有出現在 s2 裏面
題目在此 647. Palindromic Substrings
給定一個字串,請給出所有迴文的數量
題目在此 88. Merge Sorted Array
給定兩個 Sorting 後的數列,請合併它們
題目在此 322. Coin Change
給你錢幣種類跟目標數,請找出個數最少的錢幣組合可以組合出目標數
題目在此 146. LRU Cache
請實作 LRU Cache
題目在此 18. 4Sum
給一個數列跟一個 target,請從數列找出 4 個數相加等於 target
題目在此 63. Unique Paths II
給一個 m x n 的地圖,機器人固定從最左上走到最右下,只能選擇往下或往右
請計算出有多少種可能
題目在此 876. Middle of the Linked List
給一個 Linked list,請回傳中間的 node