Question DSA-GRDY-0025
EasyFractional knapsack with capacity 50 and items (value, weight) (60, 10), (100, 20), (120, 30). What is the best total value?
- A.
180
- B.
220
- C.
Sign up free to see the answer and a step-by-step explanation.
Popular companies
Prepare company by company
Hiring pattern, syllabus, past questions and mocks for each company.
All companiesPractice by subject
Greedy question
Fractional knapsack with capacity 50 and items (value, weight) (60, 10), (100, 20), (120, 30). What is the best total value?
180
220
Sign up free to see the answer and a step-by-step explanation.
240
280