Help in ZCO Practice / Previous Year problems

Hello!
I wanted to know how I can solve the ZCO23001 (Parchment problem) in python.
I have scoured the internet but couldn’t find any solution for it!
Here’s the link:
Parchment Problem ZCO23001

Also,
Any suggestions on how I can get better to solve problems, or any ideas on how I should prepare for ZCO? (Tried ZIO but couldn’t qualify :smiling_face_with_tear:)

Thanks!
Swaraj