Core Pillars

Patterns

199

Algorithms

199

Data Structures

222

two pointers

39

fast and slow pointers

1

sliding window

15

merge intervals

6

cyclic sort

3

linked list reversal

4

stack

21

monotonic stack

5

hash map

38

level order traversal

12

tree breadth first search

4

tree depth first search

6

graph

23

matrix traversal

1

two heaps

2

subsets

7

bitwise xor

1

top k elements

7

k-way merge

5

greedy algorithm

39

0/1 knapsack

1

backtracking

34

trie

5

topological sort

8

union-find

3

prefix sum

9

counting

24

simulation

5

linear sorting

1

serialize and deserialize

1

clone

1
​

#

Title

Acceptance

Difficulty

1

Contains Duplicate (easy)
hash map
hash set
array
+1 more

55.5%

easy

2

string
hash map
hashing
+1 more

31.1%

easy

3

Reverse Vowels (easy)
string
array
two pointers

44.3%

easy

4

string
array
two pointers
+1 more

22.6%

easy

5

string
hash map
sorting
+2 more

38.4%

easy

6

array
string
two pointers
+1 more

27.9%

easy

7

array
counting
hash map

75.5%

easy

8

binary search
recursion
sorting

15.4%

Med.

9

two pointers
array
binary search
+1 more

42.4%

easy

10

array
sorting
two pointers
+1 more

42.6%

easy

11

array
sorting
two pointers
+3 more

35.6%

easy

12

sorting
two pointers
array
+3 more

22.3%

Med.

13

sorting
array
greedy algorithm

12.2%

Med.

14

sorting
two pointers
array
+1 more

22.7%

Med.

15

array
sorting
two pointers
+1 more

29.6%

Med.

16

17.3%

Med.

17

16.8%

Med.

18

12.7%

Med.

19

64.5%

easy

20

linked list
two pointers
linked list reversal

59.9%

easy

21

linked list
fast and slow pointers
graph algorithms

49.7%

Med.

22

recursion
linked list
hash map

47.3%

Med.

23

28.9%

Med.

24

56.3%

Med.

25

17.3%

hard

26

sliding window
greedy algorithm
array
+1 more

46.3%

easy

27

sliding window
array
two pointers
+2 more

19.7%

easy

28

28.0%

Med.

29

sliding window
two pointers
array
+1 more

39.5%

Med.

30

29.9%

hard

31

sliding window
two pointers
array
+1 more

48.8%

hard

32

string
sliding window
hash map
+1 more

16.3%

hard

33

string
hash map
sliding window
+1 more

29.1%

hard

34

20.1%

hard

35

23.2%

hard

36

29.0%

hard

37

24.9%

hard

38

merge intervals
sorting
greedy algorithm

31.3%

Med.

39

merge intervals
array

22.0%

Med.

40

merge intervals
two pointers
array

48.1%

Med.

41

sorting
greedy algorithm
array

28.1%

Med.

42

25.9%

hard

43

43.1%

hard

44

48.4%

hard

45

sorting
cyclic sort
array

48.4%

easy

46

42.5%

easy

47

array
cyclic sort
sorting
+1 more

54.4%

easy

48

49.2%

easy

49

array
cyclic sort
two pointers
+1 more

67.2%

easy

50

48.1%

easy

51

28.9%

Med.

52

16.8%

hard

53

linked list
recursion
sorting
+4 more

80.1%

easy

54

linked list
linked list reversal
two pointers
+1 more

31.4%

Med.

55

linked list
array
recursion
+1 more

53.1%

Med.

56

linked list
linked list reversal
recursion
+1 more

51.6%

Med.

57

22.9%

Med.

58

30.1%

easy

59

85.1%

easy

60

46.7%

Med.

61

31.5%

easy

62

69.7%

easy

63

25.2%

Med.

64

linked list
linked list reversal
recursion
+1 more

42.0%

easy

65

58.6%

easy

66

stack
monotonic stack
array
+1 more

55.4%

easy

67

monotonic stack
array
stack

54.9%

easy

68

37.1%

Med.

69

subsets
array
stack
+3 more

67.6%

Med.

70

greedy algorithm
stack
string
+1 more

12.7%

hard

71

55.3%

easy

72

0.0%

easy

73

hash map
counting
array
+1 more

61.4%

easy

74

hash map
counting
array
+3 more

0.0%

easy

75

39.7%

easy

76

0.0%

easy

77

greedy algorithm
counting
string

24.1%

easy

78

0.0%

easy

79

string
hash map
counting
+1 more

56.7%

easy

80

hash map
counting
string
+1 more

0.0%

easy

81

breadth-first search
binary tree
level order traversal
+1 more

73.5%

easy

82

breadth-first search
binary tree
queue
+1 more

89.2%

easy

83

binary tree
breadth-first search
level order traversal
+3 more

64.1%

Med.

84

binary tree
breadth-first search
level order traversal
+1 more

82.1%

easy

85

breadth-first search
binary tree
queue
+1 more

90.5%

Med.

86

binary tree
breadth-first search
level order traversal

54.0%

Med.

87

binary tree
tree breadth first search
level order traversal
+2 more

56.9%

Med.

88

binary tree
breadth-first search
depth-first search
+1 more

21.5%

easy

89

breadth-first search
level order traversal
graph algorithms
+1 more

63.9%

easy

90

breadth-first search
binary tree
level order traversal
+1 more

78.0%

Med.

91

binary tree
breadth-first search
tree depth first search
+3 more

32.1%

Med.

92

n-ary tree
level order traversal
breadth-first search
+1 more

92.5%

hard

93

breadth-first search
level order traversal
binary tree
+1 more

80.1%

Med.

94

binary tree
tree breadth first search
level order traversal
+1 more

76.3%

easy

95

binary tree
depth-first search
recursion

38.3%

easy

96

binary tree
recursion
depth-first search

56.9%

Med.

97

binary tree
recursion
depth-first search

69.0%

Med.

98

binary tree
recursion
depth-first search
+1 more

25.9%

Med.

99

binary tree
recursion
depth-first search
+2 more

24.5%

Med.

100

binary tree
graph algorithms
recursion
+2 more

59.3%

Med.

Companies

Google

Meta

Microsoft

Amazon

Oracle

Linkedin

Topics

array

116

recursion

109

sorting

67

string

56

breadth-first search

53

depth-first search

48

two pointers

39

greedy algorithm

39

hash map

38

backtracking

34

binary tree

29

dynamic programming

27

graph algorithms

24

counting

24
+39 more