I have coded a solution for this statement But 4 out of 5 test cases are wrong I don’t know what edge case I’m missing whenever I dry run my own code I find it correct. hope a small mistake should be there
A small doubt regarding this statement
use long everywhere to avoid overflow.that ll pass the test case
please marks your doubt as resolved
Great Solved Thanks !!! Suree : )
1 Like