My code is giving correct answer for sample test case given in question as well as the one in video. But 4 cases are going wrong. Could you please find the error?
Winning CB scholarship
hi @rishabhsetiya7 there were two very tiny mistakes … I have covered those in the comments … You can check your resolved code here
Thank you so much