Sequences Summing to a Target Using Digits 1 and 2
Find all possible ordered sequences (compositions) that sum to a given target number using only the values 1 and 2.
Asked at:
Question Timeline
See when this question was last asked and where, including any notes left by other candidates.
All Regions
Early October, 2024
Junior
Get all sequences that sum to a particular number if digits 1 & 2 can be used
Hello Interview Premium
Your account is free and you can post anonymously if you choose.