neetcode_150_flashcards

(41 cards)

1
Q

Question

A

Topic

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

Array & Hashing

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

Array & Hashing

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

Array & Hashing

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q
  1. Product of Array Except Self
A

Array & Hashing

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

Stack

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q
  1. Best Time to Buy and Sell Stock
A

Array & Hashing

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

Two Pointers

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
9
Q
  1. Invert Binary Tree
A

Trees

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
10
Q
  1. Lowest Common Ancestor of a Binary Search Tree
A

Trees

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
11
Q
  1. Binary Tree Level Order Traversal
A

Trees

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
12
Q
  1. Maximum Subarray
A

Divide & Conquer

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
13
Q
  1. Linked List Cycle
A

Linked List

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
14
Q
  1. Merge Two Sorted Lists
A

Linked List

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
15
Q
  1. Reverse Linked List
A

Linked List

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
16
Q
  1. Contains Duplicate II
A

Array & Hashing

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
17
Q
  1. 3Sum
18
Q
  1. Container With Most Water
19
Q
  1. Product of Array Except Self (Revisited)
A

Array & Hashing

20
Q
  1. Two Sum II Input Array Is Sorted
21
Q
  1. Trapping Rain Water
22
Q
  1. Remove Nth Node From End of List
23
Q
  1. LRU Cache
A

Hash Table + Linked List

24
Q
  1. Longest Substring Without Repeating Characters
A

Sliding Window

25
24. Longest Repeating Character Replacement
Sliding Window
26
25. Minimum Window Substring
Sliding Window
27
26. Permutation in String
Sliding Window
28
27. Search in Rotated Sorted Array
Binary Search
29
28. Find Minimum in Rotated Sorted Array
Binary Search
30
29. Maximum Product Subarray
Dynamic Programming
31
30. Number of Islands
Graph
32
31. Number of Provinces
Graph
33
32. Balanced Binary Tree
Trees
34
33. Same Tree
Trees
35
34. Subtree of Another Tree
Trees
36
35. Diameter of Binary Tree
Trees
37
36. Word Search
Backtracking
38
37. Clone Graph
Graph
39
38. Pacific Atlantic Water Flow
Graph
40
39. Longest Consecutive
Hash Map
41
40. Alien Dictionary
Topological Sort