Number of Ways to Earn Points at TuSimple
Hard59.5% acceptance
This problem has 100.0% frequency at TuSimple.
Problem Description
There is a test that has `n` types of questions. You are given an integer `target` and a **0-indexed** 2D integer array `types` where `types[i] = [counti, marksi]` indicates that there are `counti` questions of the `ith` type, and each one of them is worth `marksi` points. Return _the number of...
Read full problem and hints