DoorDash interview question

Leetcode two sum, and reverse a linked list