This topic contains 0 replies, has 0 voices, and was last updated by  EduGorilla 1 year, 11 months ago.

  • Author
    Posts
  • #1440032 Reply
     EduGorilla 
    Keymaster
    Select Question Language :


    We are provided with a 2 x n array of integers. What is the time complexity to calculate the rectangular 1×2 or 2 x1 array whose sum of elements is maximum?
    Example:

    Here ans is 12

    Options :-

    1. O( n logn)
    2. O( n2)
    3. O( 2n)
    4. O(n3)
    Post your Training /Course Enquiry
    Are You looking institutes / coaching center for
    • IIT-JEE, NEET, CAT
    • Bank PO, SSC, Railways
    • Study Abroad
    Select your Training / Study category
Reply To: We are provided with a 2 x n array of integers. What is the time complexity to calculate the rectang….
Your information:




Verify Yourself




Log in with your credentials

or    

Forgot your details?

Create Account