Science, asked by queendiya6, 13 days ago

My teacher said that the highest scorer will get a chocolate as reward. I scored highest in the test so I look . to get the chocolate.​

Answers

Answered by madhhahsus262
0

Answer:

Chocolate Distribution Problem | Set 2

Given an array A[] consisting of N integers, where each value represents the marks of the ith student, the task is to find the minimum number of chocolates required to be distributed such that:

Each student should be awarded with at least one chocolate

A student with higher marks should be awarded more chocolates than his adjacent students.

Explanation:

I hope it's help you dear please make me brainliests

Attachments:
Similar questions