Skip to content
#

greedy

Here are 50 public repositories matching this topic...

There is a robot for a library.A sample input file is given below. The first 10 rows represent the adjacency matrix. Then, each room’s name is followed by weight and number of pages of books in 5 rooms. Knapsack algorithm is for maximaxing the total number of pages (it can pick total of 5 kilograms of books from 5 rooms )and Prim algorithm is used.

  • Updated Jun 5, 2019
  • Java

Improve this page

Add a description, image, and links to the greedy topic page so that developers can more easily learn about it.

Curate this topic

Add this topic to your repo

To associate your repository with the greedy topic, visit your repo's landing page and select "manage topics."

Learn more