Can somebody provide test cases(which will cover all the situations with explanation ) for this particular problem (Problem) because I am unable to figure out some test cases apart from what they have already mentioned in the problem ?
Thanks in advance .