Question d’entretien chez TCS

Algorithm to sort linked list Findthe substring