educative.io

Educative

In the recursive there are 3 parameters which change why do we create a 2d matrix

In minimum subset difference problem, I got the recursive approach but unable to convert it into dp solution. Since 3 arguments keep change should we create a 3D matrix?.