Glossary: Coding Interviews in Java
List copy
Also written: new ArrayList<>(path), copy
A new list holding the same items, made with `new ArrayList<>(path)`. Backtracking must save a copy, because saving `path` itself saves one list that keeps changing.