Available question text
Given the multiset of all 2^n subset sums, reconstruct any original length-n integer array. The core challenge is to infer each element by partitioning the sums into "with/without" groups and recursively recovering values using multiset frequency counting and backtracking to handle positives, negatives, and zeros.
Related questions
Continue with questions that share topics or the same question type.
- Find Beautiful Indices in the Given Array I
Coding
- Find Beautiful Indices in the Given Array II
Coding
- Find Valid Matrix Given Row and Column Sums
Coding
- Given an integer array nums, find the contiguous subarray (containing at least one number) which has the largest sum and return its sum. Walk through Kadane's algorithm and explain the O(n) approach.
Coding
Sources · 1 reference
These records explain where the question appears. A company tag or candidate report does not guarantee a future interview question.
Hello Interview · 1 record
No company association
Leetcode 1982. Find Array Given Subset Sums
Reported date not specified · 0 source reports
Source snapshot: Nov 12, 2026
View source