WA- HDILEVER

Getting WA for the problem HDELIVER. Here is a link to the solution submitted by me…