Question d’entretien chez LinkedIn

Basic array questions. Asked to write a member function for a class interface.