Object Reservoir Interview Question

logics