← Barclays questions
CodingReported in a candidate post, Dec 2022

Find Triplet with Given Sum

Filed under Barclays

Given an array of integers and a target sum, find if there exists a triplet (three numbers) in the array that adds up to the target value.

You've read your 3 free write-ups

Sign up free to keep reading. Your account opens the first 10 questions of every company.

Related Barclays questions

Collected from public candidate posts and coding forums. Updated Nov 2026.