PA of Algorithms Q68

  • Option : D
  • Explanation :
    * Outer loop (for i) executed n times.
    * Loop (for j) executed logn times so value of p = logn.
    loop (for k) executed log p times.
    So value of q = log p = log logn.
    for every value of i loop (k) is executed so return value is n * log logn
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 *