Collection of my solutions and analysis for problems on leetcode
# | Title | Time | Space | Tag | One-Liner |
---|---|---|---|---|---|
378 | Kth Smallest Element in a Sorted Matrix | O() | O() | Binary Search | |
421 | Maximum XOR of Two Numbers in an Array | O() | O() | Trie | |
792 | Number of Matching Subsequences | O() | O() | Map | |
1642 | Furthest Building You Can Reach | O() | O() | Greedy | |
2156 | Find Substring With Given Hash Value | O() | O() | Rolling Hash | |
2311 | Longest Binary Subsequence Less Than or Equal to K | O() | O() | Greedy |