TikTok interview question

Reverse a linked list between 2 points