No test case is getting passed
@tusharnitharwal
You can verify your solution with this test case
Q : 3
10
305 213 915 543 331 259 751 387 229 949
7
936 928 520 45 465 7 22
10
57 305 415 322 966 255 226 955 210 255
A :
305 259 305 424 331 318 331 359 331 359
936 932 928 724 520 492 465
57 181 305 313 322 313 305 313 305 280
I hope I’ve cleared your doubt. I ask you to please rate your experience here
Your feedback is very important. It helps us improve our platform and hence provide you
the learning experience you deserve.
On the off chance, you still have some questions or not find the answers satisfactory, you may reopen
the doubt.