Can i get the solution and expanation

can i get the solution and expanation

@anubhavb11 refer this dry run it you will understand


dont forget to hit like and mark resolved if cleared :smiley: