Question 10

Given an array of n elements return true if 3 of the sum of 3 elements is equal to a constant c

Example array a[6,2,3,4] constant c = 9

if a[1] + [2] + [3] == c return true

The size of the array is n

If any set of 3 elements is equal to the constant c, then return false.

[advanced_iframe securitykey=”undefined” src=”” width=”100%” height=”600″]

Request A Callback

Get a Free 30-minute Counseling session with our experts.