India’s Best Job Seekers and Training Platform Forums Data Structure You're given an array of integers(eg [3,4,7,1,2,9,8]) Find the index of value ..

  • You're given an array of integers(eg [3,4,7,1,2,9,8]) Find the index of value ..

     Akash  updated 11 months, 2 weeks ago 1 Member · 1 Post
  • Akash 

    Administrator
    at

    You’re given an array of integers(eg [3,4,7,1,2,9,8]) Find the index of values that satisfy A+B = C + D, where A,B,C & D are integers values in the array.
    Eg: Given [3,4,7,1,2,9,8] array
    The following
    3+7 = 1+ 9 satisfies A+B=C+D
    so print (0,2,3,5)

Log in to reply.

Original Post
0 of 0 posts June 2018
Now
KodNest Training New Batch is starting on 19th October 2020. Attend one week free demo classes.Register Now

New Report

Close