Pick Numbers Summing to a Target: Existence With Negatives, One and All Solutions
Company: Confluent
Role: Software Engineer
Category: Software Engineering Fundamentals
Difficulty: medium
Interview Round: Onsite
Overview: A staged coding discussion about choosing integers from a list so that they add up to a target. It asks whether a solution exists with only positive numbers and then with mixed signs, for one solution and for every solution without duplicates, and for optimizations, testing dynamic programming, pruned backtracking and reasoning about negative numbers.