Skip to content

Glossary: Data Structures and Algorithms in C++

std::reverse

Also written: reverse

Turns a vector around in place; BFS uses it to flip the route it built backward.

Where the book teaches it

Related terms

came_from