| 
 | 
back to boardCan you explain this problem? Can you please explain what this problem is asking?   Input: 10 2 8 8 Output: 6   Input: 10 3 8 8 8 Output: 4   Can you explain how the output is changing? What's the logic/intuition behind this? Please explain in details.  |  
  | 
|