Etsy interview question

Reverse linkedlist between two indices