You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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.
The text was updated successfully, but these errors were encountered:
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.
The text was updated successfully, but these errors were encountered: