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.