Intuit interview question

linked list and basic dsa