Leetcode 377. Combination Sum IV
Count how many ordered sequences (elements may be reused) of distinct positive integers from nums sum to target — order matters so different permutations are counted separately. Core challenge: this is an order-sensitive unbounded knapsack / permutation-counting problem typically solved with dynamic programming (answers fit in 32-bit).
Asked at:
Meta
Question Timeline
See when this question was last asked and where, including any notes left by other candidates.
0
Late October, 2025
Meta
Senior Manager
Hello Interview Premium
Your account is free and you can post anonymously if you choose.