Cura Tech Interview Question

implement a linked list and reverse it