TikTok interview question

two sum. and reverse linked list