Skip to content

Glossary: Coding Interviews

AttributeError

Also written: NoneType error

A Python error raised when you use an attribute that an object doesn't have. In the linked-list code it happens when `fast.next` is used while `fast` is `None`.

Where the book teaches it

Related terms

Fast and slow pointers