MCQOPTIONS
Bookmark
Saved Bookmarks
→
General Awareness
→
Banking Innovation in India in General Awareness
→
What is the time complexity of Heap’s algorithm?..
1.
What is the time complexity of Heap’s algorithm?
A.
O(n log n)
B.
O(n2)
C.
O(n*n!)
D.
O(n!)
Answer» E.
Show Answer
Discussion
No Comment Found
Post Comment
Related MCQs
What will be the output of the code that generates permutations and also has the ability to handle duplicates, for the input str[]=”AA”?
What is the time complexity of Heap’s algorithm?
Heap’s algorithm requires an auxiliary array to create permutations.
Reply to Comment
×
Name
*
Email
*
Comment
*
Submit Reply