Not able to solve

This code… i have copied from somewhere…


I tried very much but not able to write the function to generate the permutation using recursion…
It feels like i am memorizing the code… what should i do

question is not difficult
first you have to generate all permutation of string as you done using recursion
only extra thing here is just compare all permutation with given string

to calculate all permutation
you should have to watch a video present on your course

initially most of the student stuck in recursion
don’t get demotivated
work hard

I hope I’ve cleared your doubt. I ask you to please rate your experience here
Your feedback is very important. It helps us improve our platform and hence provide you
the learning experience you deserve.

On the off chance, you still have some questions or not find the answers satisfactory, you may reopen
the doubt.