PA of Algorithms Q112

  • Option : A
  • Explanation :
    Complexity is remain same because we had swap after finding to position of element so in worst case swapping for each element requires Q (n) time hence complexity is O (n2).
Cancel reply

Your email address will not be published. Required fields are marked *


Cancel reply

Your email address will not be published. Required fields are marked *