Spring Hire Sale
Limited Time Deal: Unlock all premium questions for over 30% off
$10.42$7.08
08
:
03
:
08
:
15
Back to Dashboard
OA [CodeSignal] Longest Subsequence With Limited Sum
Medium
You are given two arrays: nums (containing positive integers) and queries (each containing a target sum).
For each query, return the maximum size of a subsequence from nums whose sum is less than or equal to the query value.
...