Combination Sum IV at Snapchat
Medium55.0% acceptance
This problem has 87.5% frequency at Snapchat.
Problem Description
Given an array of **distinct** integers `nums` and a target integer `target`, return _the number of possible combinations that add up to_ `target`. The test cases are generated so that the answer can fit in a **32-bit** integer.
Read full problem and hintsTopics
Also asked at 5 companies
More Snapchat Questions
Valid SudokuMediumSudoku SolverHardCombination SumMediumCombination Sum IIMediumWildcard MatchingHard
View all Snapchat questions