Glossary: Coding Interviews in Java
NullPointerException
A Java error thrown when you use a reference that is null. In the linked-list code it happens if you read `fast.next` without checking `fast` first.
Glossary: Coding Interviews in Java
A Java error thrown when you use a reference that is null. In the linked-list code it happens if you read `fast.next` without checking `fast` first.