TCG GreenChem Interview Question

Questions on the previous work