You are given n counters, initially set to 0, and you have two possible operations on them: increase(x) counter x is increased by 1,
Answers
Answered by
0
Answer: You are given N counters, initially set to 0, and you have two possible operations on them: increase(X) − counter X is increased by 1, max_counter − all counters are set to the maximum value of any counter. A non-empty zero-indexed array A of M integers is given.
Step-by-step explanation:
Answered by
0
I hope this will help you.
pls mark this as the brainliest answer...
pls mark this as the brainliest answer...
Attachments:
Similar questions