Question d’entretien chez Shell

Inheritance explain with an example? Time complexities on Data structures