← ALL NOTES
Array

3495. Minimum Operations to Make Array Elements Zero

For each query [l,r] consider the numbers l..r. Per operation, take any two numbers and divide both by 4 (floor). Find the minimum number of operations to make all of them zero, summed over all…

Loading…