Algorithms
depth-first search

53 problems

#

Title

Acceptance

Difficulty

1

Shortest Word Distance (easy)
array
string
two pointers
+3 more

27.8%

easy

2

array
sorting
two pointers
+3 more

35.5%

easy

3

linked list
fast and slow pointers
two pointers
+3 more

59.9%

easy

4

28.8%

Med.

5

linked list
linked list reversal
recursion
+2 more

31.4%

Med.

6

linked list
doubly linked list
recursion
+2 more

22.8%

Med.

7

stack
string
depth-first search
+1 more

30.1%

easy

8

array
stack
two pointers
+3 more

31.5%

easy

9

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

21.5%

easy

10

binary tree
depth-first search
recursion
+1 more

38.3%

easy

11

binary tree
depth-first search
recursion
+2 more

56.9%

Med.

12

binary tree
recursion
depth-first search

69.0%

Med.

13

binary tree
recursion
depth-first search
+1 more

25.9%

Med.

14

binary tree
depth-first search
recursion
+2 more

24.5%

Med.

15

binary tree
tree depth first search
recursion
+2 more

17.7%

hard

16

graph
breadth-first search
depth-first search
+2 more

42.8%

easy

17

graph
depth-first search
recursion

0.0%

easy

18

graph
depth-first search
union-find
+3 more

41.5%

Med.

19

graph
depth-first search
breadth-first search
+2 more

64.2%

Med.

20

graph
topological sort
breadth-first search
+1 more

45.0%

Med.

21

graph algorithms
topological sort
depth-first search
+2 more

0.0%

Med.

22

matrix
graph
matrix traversal
+4 more

49.3%

easy

23

matrix
breadth-first search
depth-first search
+4 more

47.4%

easy

24

breadth-first search
depth-first search
recursion
+3 more

38.4%

easy

25

graph
matrix traversal
breadth-first search
+2 more

44.0%

easy

26

array
matrix
depth-first search
+2 more

27.3%

easy

27

graph
matrix
breadth-first search
+3 more

62.6%

Med.

28

graph
depth-first search
matrix
+1 more

19.1%

Med.

29

recursion
backtracking
string
+2 more

56.7%

Med.

30

48.3%

Med.

31

backtracking
recursion
array
+2 more

46.3%

Med.

32

depth-first search
backtracking
graph
+2 more

28.6%

Med.

33

trie
string
depth-first search
+3 more

35.5%

Med.

34

topological sort
graph algorithms
recursion
+3 more

25.9%

Med.

35

graph algorithms
topological sort
graph
+2 more

46.4%

Med.

36

graph algorithms
topological sort
recursion
+2 more

47.0%

Med.

37

topological sort
graph algorithms
graph
+2 more

20.0%

hard

38

graph
topological sort
sorting
+1 more

45.6%

hard

39

graph
breadth-first search
depth-first search
+1 more

45.5%

Med.

40

graph
depth-first search
union-find
+3 more

41.5%

Med.

41

graph
breadth-first search
depth-first search
+2 more

37.5%

Med.

42

graph algorithms
breadth-first search
depth-first search
+3 more

40.8%

Med.

43

binary tree
binary search tree
recursion
+2 more

47.1%

Med.

44

binary tree
recursion
depth-first search
+1 more

77.7%

Med.

45

binary search tree
recursion
breadth-first search
+2 more

90.0%

Med.

46

binary tree
recursion
breadth-first search
+2 more

35.4%

easy

47

depth-first search
breadth-first search
graph
+1 more

30.2%

Med.

48

clone
graph
depth-first search
+3 more

46.3%

Med.

49

binary search tree
binary tree
recursion
+1 more

37.4%

Med.

50

graph
graph algorithms
breadth-first search
+1 more

31.7%

Med.

51

graph algorithms
depth-first search
breadth-first search
+3 more

30.7%

Med.

52

trie
string
depth-first search
+3 more

35.5%

Med.

53

stack
string
breadth-first search
+3 more

15.7%

hard