Question d’entretien chez Morgan Stanley

Asked a leet code easy string manipulation question. Also asked about optimizing computing tasks