What if there is no combination

sir what if there is no possible combination and we have to return -1

hi @raazankit1502_69ce91077868d72b are u having cpp course?

yes I am in cpp course isa Feb

hi @raazankit1502_69ce91077868d72b, send me ss of question