Practice
Learn
← Quit
0 / 0 correct
Data Structures
Hard
1 of 40
What is a deque-based '0-1 BFS' used for?
A
Sorting binary arrays
B
Shortest paths in graphs whose edge weights are only 0 or 1, in O(V + E)
C
Finding cycles
D
Topological sorting