[Google] Pickup Coupon
(This question has been seen in the interviews of the following companies: Google)
Given an array of integers representing the value of coupons, return the minimum number of consecutive coupons to pick up to win the prize. Return -1 if it’s not possible...
Copyright © A++ Code Bootcamp 2023