FICO interview question

DSA questions from linked list