Question: Example 1 : Input: flowers = 3 , nights = 4 Output: 1 5 Explanation: 0 . Initially: [ 1 , 1 , 1 ]
Example :
Input: flowers nights
Output:
Explanation:
Initially:
After night:
After nights:
O After nights:
After nights:
So the last flower would have petals.
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
