Snap

1 DSA problems asked in Snap coding interviews

0 Easy
1 Medium
0 Hard
​

1 problem

Dynamic Programming
1
Combination Sum IV
Medium

Given an array of distinct positive integers nums and a target, return how many ordered sequences of numbers from nums add up to target. A number may be used any number of times, and different orders count as different sequences, so (1, 2) and (2, 1) are two answers. The answer fits in a 32-bit integer.