Undertone interview question

reverse output a linked list without request new memory