Algorithms
depth-first search

48 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.3%

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.6%

easy

6

binary tree
depth-first search
recursion

38.4%

easy

7

binary tree
recursion
depth-first search

57.0%

Med.

8

binary tree
recursion
depth-first search

69.0%

Med.

9

binary tree
recursion
depth-first search
+1 more

26.0%

Med.

10

binary tree
recursion
depth-first search
+2 more

24.6%

Med.

11

binary tree
graph algorithms
recursion
+2 more

59.3%

Med.

12

binary tree
graph algorithms
recursion
+1 more

17.8%

hard

13

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

42.8%

easy

14

graph algorithms
depth-first search
graph
+1 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
breadth-first search
depth-first search
+3 more

49.4%

easy

19

graph
matrix
depth-first search
+2 more

47.5%

easy

20

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

38.6%

easy

21

graph
matrix traversal
breadth-first search
+2 more

44.1%

easy

22

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

27.4%

easy

23

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

62.6%

Med.

24

graph
matrix
depth-first search
+1 more

19.2%

Med.

25

recursion
backtracking
string
+2 more

56.8%

Med.

26

binary search
array
recursion
+1 more

33.8%

Med.

27

48.3%

Med.

28

string
greedy algorithm
stack
+3 more

18.0%

Med.

29

depth-first search
backtracking
graph algorithms
+3 more

28.7%

Med.

30

trie
string
depth-first search
+3 more

35.5%

Med.

31

graph algorithms
topological sort
graph
+2 more

46.5%

Med.

32

graph algorithms
topological sort
recursion
+2 more

47.1%

Med.

33

graph
topological sort
depth-first search
+2 more

45.7%

hard

34

graph algorithms
topological sort
recursion
+2 more

31.9%

hard

35

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

41.6%

Med.

36

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

37.5%

Med.

37

graph algorithms
shortest path
dynamic programming
+2 more

40.8%

Med.

38

binary tree
binary search tree
recursion
+2 more

47.2%

Med.

39

binary search tree
recursion
breadth-first search
+2 more

89.7%

Med.

40

binary tree
recursion
breadth-first search
+2 more

35.5%

easy

41

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

30.3%

Med.

42

binary tree
binary search tree
recursion
+1 more

28.3%

Med.

43

graph
clone
depth-first search
+1 more

46.4%

Med.

44

binary search tree
binary tree
recursion
+1 more

37.5%

Med.

45

graph
graph algorithms
breadth-first search
+1 more

31.8%

Med.

46

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

30.8%

Med.

47

trie
string
depth-first search
+3 more

35.5%

Med.

48

stack
string
breadth-first search
+3 more

15.8%

hard