Leetcode shit Flashcards

1
Q

Contains Duplication

Hint: use hashset

A

https://leetcode.com/problems/contains-duplicate/submissions/954800667/

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

Two Sum

Hint: use dictionary

A

https://leetcode.com/problems/two-sum/submissions/954907152/

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

Valid Anagram

hint: use frequency pattern

A

https://leetcode.com/submissions/detail/955391024/

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

Shuffle Array

A

https://leetcode.com/submissions/detail/955404016/

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

Palindrome

hint: use two pointers pattern

A

https://leetcode.com/problems/valid-palindrome/

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

Best Time to Buy and Sell Stock

hint two pointers

A

https://leetcode.com/problems/best-time-to-buy-and-sell-stock/submissions/959323515/

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q

Binary Search

A

https://leetcode.com/problems/binary-search/submissions/959499892/

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
8
Q

maximum subarray

A

https://leetcode.com/problems/maximum-subarray/submissions/980561229/

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
9
Q

sliding window (fixed)

A
How well did you know this?
1
Not at all
2
3
4
5
Perfectly