How can we work with int using set?

If we need to permute integer array how can we permute it using set and without set?

Hey @priya_Jain , please specify your doubt clearly

How can we find permutation of array of integers?

Hey i have wrote a code for your problem using set, whereas if you want to find permutations without using set then you have to use iterative approach, hope you will understand it and get your concepts right :grinning:

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.