Generating Permutations Multiple choice Questions and Answers (MCQs)
Click on any option to know the CORRECT ANSWERS
What will be the output of the code that generates permutations and also has the ability to handle duplicates, for the input str="AA"?
Question 11 Explanation:
If a code is able to handle duplicates then the two A's are not considered to be different elements due to which only one permutation will be formed. So the output will be AA only.
There are 11 questions to complete.