leetcode-378 - Kth Smallest Element in a Sorted Matrix

動機 原來binary search可以這麼用 ...

January 2, 2021 · 3 min · zhengcf

leetcode-703 - Kth Largest Element in a Stream

動機 當初想的太複雜了,還想用兩個heap ...

January 1, 2021 · 1 min · zhengcf

leetcode-1046 - Last Stone Weight

動機 練heapq ...

December 29, 2020 · 2 min · zhengcf

leetcode-692 - Top K Frequent Words

動機 medium!? ...

December 29, 2020 · 2 min · zhengcf

leetcode-313 - Super Ugly Number

動機 值得回味的題目 ...

December 29, 2020 · 2 min · zhengcf

leetcode-451 - Sort Characters By Frequency

動機 這題是medium!? ...

December 28, 2020 · 1 min · zhengcf