DSC-Banasthali-Vidyapith / Engineering-Daze

This project contains the carefully compiled easy to medium level Data Structures & Algorithm questions.
8 stars 27 forks source link

Find the triplet that sum to a given value. #37

Open shrutigrover25 opened 3 years ago

shrutigrover25 commented 3 years ago

Given an array and a value, find if there is a triplet in array whose sum is equal to a given value. If there is such triplet present, then print the value and return true else return false.

Language - C++

Discuss the most optimised approach.

shrutigrover25 commented 3 years ago

Please assign me this issue as a part of hacktoberfest.

anishsaraogi commented 3 years ago

I would like to work on this issue!