EnergyHub Interview Question

The coding assignment