Algorithms
depth-first search

49 problems

#

Title

Acceptance

Difficulty

1

Squaring a Sorted Array (easy)
array
sorting
two pointers
+3 more

35.6%

easy

2

sorting
two pointers
array
+3 more

22.2%

Med.

3

Problem Challenge 2: Find the Smallest Missing Positive Number (medium)
array
sorting
recursion
+3 more

28.9%

Med.

4

16.8%

hard

5

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

21.5%

easy

6

binary tree
depth-first search
recursion

38.3%

easy

7

binary tree
recursion
depth-first search

56.9%

Med.

8

binary tree
recursion
depth-first search

69.0%

Med.

9

binary tree
recursion
depth-first search
+1 more

25.9%

Med.

10

binary tree
recursion
depth-first search
+2 more

24.5%

Med.

11

binary tree
graph algorithms
recursion
+2 more

59.3%

Med.

12

binary tree
graph algorithms
recursion
+1 more

17.7%

hard

13

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

42.8%

easy

14

graph algorithms
depth-first search
recursion
+2 more

0.0%

easy

15

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

41.6%

Med.

16

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

64.2%

Med.

17

graph
topological sort
breadth-first search
+1 more

45.0%

Med.

18

graph algorithms
depth-first search
breadth-first search

0.0%

Med.

19

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

49.4%

easy

20

graph
matrix
depth-first search
+2 more

47.5%

easy

21

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

38.5%

easy

22

graph
matrix traversal
breadth-first search
+2 more

44.1%

easy

23

matrix
recursion
depth-first search

27.4%

easy

24

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

62.6%

Med.

25

graph
matrix
depth-first search
+1 more

19.1%

Med.

26

recursion
backtracking
string
+2 more

56.7%

Med.

27

binary search
array
recursion
+1 more

33.7%

Med.

28

48.3%

Med.

29

string
greedy algorithm
stack
+3 more

18.0%

Med.

30

depth-first search
backtracking
graph algorithms
+3 more

28.7%

Med.

31

trie
string
depth-first search
+3 more

35.5%

Med.

32

graph algorithms
topological sort
graph
+2 more

46.4%

Med.

33

graph algorithms
topological sort
recursion
+2 more

47.1%

Med.

34

graph
topological sort
depth-first search
+2 more

45.7%

hard

35

graph algorithms
topological sort
recursion
+2 more

31.9%

hard

36

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

41.6%

Med.

37

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

37.5%

Med.

38

graph algorithms
shortest path
dynamic programming
+2 more

40.8%

Med.

39

binary tree
binary search tree
recursion
+2 more

47.2%

Med.

40

binary search tree
recursion
breadth-first search
+2 more

89.6%

Med.

41

binary tree
recursion
breadth-first search
+2 more

35.5%

easy

42

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

30.3%

Med.

43

binary tree
binary search tree
recursion
+1 more

28.3%

Med.

44

graph
clone
depth-first search
+1 more

46.4%

Med.

45

binary search tree
binary tree
recursion
+1 more

37.5%

Med.

46

graph
graph algorithms
breadth-first search
+1 more

31.7%

Med.

47

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

30.7%

Med.

48

trie
string
depth-first search
+3 more

35.5%

Med.

49

stack
string
breadth-first search
+3 more

15.8%

hard