Online Assessment with coderpad (45 minutes).
The problem involves creating Pallet and Truck class
class Pallet
- id
- weight
- timestamp
class Truck
- getWeight()
- pushPallet(pallet)
- removePallet(id)
- getWeightattime(t)
Implement the above functions.