Commit Graph

3 Commits

Author SHA1 Message Date
Shaurya Bisht
c7c39d0d6a Fixed insert function - added case 1 2024-10-14 19:00:30 +05:30
Hardik Pawar
aeee0f42a5
Add doctests for fractional knapsack (#10891)
* Add doctests for fractional knapsack

* Update greedy_methods/fractional_knapsack.py

Co-authored-by: Christian Clauss <cclauss@me.com>

* Run doctests

* Update greedy_methods/fractional_knapsack.py

Co-authored-by: Christian Clauss <cclauss@me.com>

* Update greedy_methods/fractional_knapsack.py

---------

Co-authored-by: Christian Clauss <cclauss@me.com>
2023-10-24 16:36:24 +02:00
SudhanshuSuman
7f6e0b656f
Corrected the directory of Fractional Knapsack algorithm (#7086)
* Moved fractional knapsack from 'dynamic_programming' to 'greedy_methods'

* Updated DIRECTORY.md
2022-10-16 22:41:28 +02:00