I am getting an error of no output in case if the sum does not exist. I would like to know what to print if sum does not exist.
What to print when no valid solution exists
Hi @Rachit-Garg-2234555286667579
See there is not case in the test case for which target sum does not exists. Kindly check your code again.