Generating Permutations Multiple choice Questions and Answers (MCQs)

 

 Help authour, Buy PDF Ebook   >>>Click Here<<<

Generating Permutations Multiple choice Questions and Answers (MCQs)

Click on any option to know the CORRECT ANSWERS

Question 11
What will be the output of the code that generates permutations and also has the ability to handle duplicates, for the input str[]="AA"?
A
AA
B
AA, AA
C
A, A
D
A
Public administration Questions answers

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.

 

 Download all FREE PDF Ebook >>>CLICK HERE<<<