I am using the same logic as explained in the video. But last 3 test cases are not passing. Any hint or am I making some mistakes. I tried to look, but logically I didn’t find any problem. Any help would be appreciated.
Last 3 test cases not passing. Any Hint?
@Rachit-Garg-2234555286667579 use long long int everywhere instead of int
if your doubt gets cleared dont forget to hit like and mark it resolved 
1 Like
Thanks a lot 