Please dry run on the sample case

in the whole video , their was only code writing , no explanation of code and in lecture video , whole video was u will understand better when we will write the code .

sample case is : 223 4