Question d’entretien chez Virtusa

write class inheritance code reverse array without another array