Leetcode shit Flashcards
Contains Duplication
Hint: use hashset
https://leetcode.com/problems/contains-duplicate/submissions/954800667/
Two Sum
Hint: use dictionary
https://leetcode.com/problems/two-sum/submissions/954907152/
Valid Anagram
hint: use frequency pattern
https://leetcode.com/submissions/detail/955391024/
Shuffle Array
https://leetcode.com/submissions/detail/955404016/
Palindrome
hint: use two pointers pattern
https://leetcode.com/problems/valid-palindrome/
Best Time to Buy and Sell Stock
hint two pointers
https://leetcode.com/problems/best-time-to-buy-and-sell-stock/submissions/959323515/
Binary Search
https://leetcode.com/problems/binary-search/submissions/959499892/
maximum subarray
https://leetcode.com/problems/maximum-subarray/submissions/980561229/
sliding window (fixed)