for the given input test case ,how is output 13?please elaborate
@shakul hey sakul this is the link in which I have explained in brief link.