Find K Distinct Indices That Sum to Target
Implement a function to find k distinct indices in an array that sum up to a target, using a given function that returns pairs summing to the target.
Asked at:
Amazon
Question Timeline
See when this question was last asked and where, including any notes left by other candidates.
All Regions
Early December, 2024
Amazon
Mid-level
Implement a function to find k distinct indices in an array that sum up to a target, using a given function that returns pairs summing to the target
Hello Interview Premium
Your account is free and you can post anonymously if you choose.