Samsara Interview Question

Create a container class for given scenario.