An algorithm is made up of 2 modules M1 and M2. If order of M1 is f (n) and M2…

PYQ Hexaware Hiring Assessment 2025

An algorithm is made up of 2 modules M1 and M2. If order of M1 is f (n) and M2 is g (n) then the order of the algorithm is

  1. A.

    max(f (n) ,g(n) )

  2. B.

    min (f (n) ,g (n) )

  3. C.

    f(n) + g(n)

  4. D.

    f (n) × g(n)

Attempted by 431 students.

Sign up free to check your answer

Sign up free

Explore the full course: Cdac C Cat Complete Preparation

Loading lesson…