but cannot run it here for some reason
I Checked it and it is getting compiled in the local compiler
hello @vipulch
u havent written else part.
the logic is partially correct. u need to compare current stall location with last pick stall loccation , u are only checkng consecutiive.
refer ths->