Question d’entretien chez TCS

DSA question based on linked list