Minimum Number of Operations to Make Array Empty

Minimum Number of Operations to Make Array Empty - Coding Problem | K5kC