0-1 Knapsack(Recursion)

I am trying to solve using recursion but getting wrong output. Please help!

@vaishnavtannu first input is of weights array then prices. you have done the vice versa.
dont forget to hit like and mark resolved if cleared :smiley: