Lemonade Change
Try to solve the Lemonade Change problem.
We'll cover the following
Statement
There is a lemonade stand where customers can buy one lemonade at a time for
Given an integer array, bills
, where bills[i]
represents the bill paid by the
Constraints:
bills.length
bills[i]
is either, , or .
Examples
Level up your interview prep. Join Educative to access 80+ hands-on prep courses.