Permutations using recursion

Can you please explain the code using the call stack or recursion tree? I can’t understand the dry run of the code correctly.

Hi @hiteshi099btit20_f91f0c33d941e527

Please use slack channel to post your doubts for Live course.