Not able to code

Can anyone help me code this? I understood the logic but i can’t code it.

hi @ayushkotwar2002_78a27ac2b05189a5, refer this https://www.youtube.com/watch?v=bE1ut7k9Gms detailed explanation is there

Sir it will be helpful if u can provide me the code.
Thank you!

@ayushkotwar2002_78a27ac2b05189a5 i can provide u the code but u will not learn then please try once and i’ll help u if u get struct, rat chases one was a good try

1 Like

@ayushkotwar2002_78a27ac2b05189a5 refer this after trying