Nextdoor Interview Question

Create a linked list class and add a reverse method.