BASKETBALL ONEonONE

hello people i am new to it , can anyone explain me the basketball oneonone that how the possible ans was the last player , i have solved this using loop …