GDSC-AUM / OpenOcto-DSA

Data Structures and Algorithms implemented in C++
MIT License
5 stars 24 forks source link

[PROG] Add Greedy Algorithm to calculate maximum prefix elements with a limited sum from an array #58

Open mradul2 opened 2 years ago

mradul2 commented 2 years ago

Program Description My Greedy Algorithms calculates the maximum number of elements that can be chosen from an array, such that sum of all those elements in a prefix manner are always greater than a certain provided value.

Checklist

mradul2 commented 2 years ago

Please assign this issue to me.

unshDee commented 2 years ago

Done