GoodRx interview question

modify something that resembled a linked list