3038. Maximum Number of Operations With the Same Score I
Easy
10 Points
Array
Simulation
You are given an array of integers nums. Consider the following operation:
You can perform this operation until nums contains fewer than two elements. Additionally, the same score must be achieved in all operations.
Return the maximum number of operations you can perform.
3038. Maximum Number of Operations With the Same Score I
Easy
10 Points
Array
Simulation
You are given an array of integers nums. Consider the following operation:
You can perform this operation until nums contains fewer than two elements. Additionally, the same score must be achieved in all operations.
Return the maximum number of operations you can perform.