← HSBC questions
CodingReported in a candidate post, Jul 2025

Find a triplet with a given product

Filed under HSBC

Given an array of unique integers and a target product X, find a triplet (three distinct elements) such that their product equals X. Return the triplet as a list, or an empty list if no such triplet…

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 HSBC questions

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