Question
In the 0/1 knapsack problem, items have weights (1, 3, 4, 5) and values (1, 4, 5, 7), and the knapsack capacity is 7. What is the maximum total value that can be obtained?
More Algorithms Questions
- Which algorithm finds Minimum Spanning Tree in a weighted graph by adding edges in increasing order?
- Which component of a network ensures that data is delivered to the correct host in a multi-host environment?
- What happens in a deadlock situation in an operating system?
- Which of the following SQL commands is a DML (Data Manipulation Language) command?
- The time complexity of building a heap from an unsorted array of n elements is:
- Which cloud service model provides developers with a platform to develop, run, and manage applications without worrying about the underlying infrastructure...
- Which of the following is true about public-private key encryption in securing communications?
- Which of the following cloud service models provides the highest level of control over the infrastructure?
- Dijkstra's shortest path algorithm is guaranteed to produce correct results only when the input graph:
- What is the primary goal of Cyber Security?
Hey! Ask a query
Please enter email id
The email must be a valid email address.
Please enter Mobile Number
Please enter valid Mobile Number
Please enter your Doubt
Think You're Ready for RBI Grade B?
RBI Grade B 2026 Phase 1 Memory Based Paper
- 200 Questions with Detailed Solutions
- Section-wise Coverage (GA, English, Quant & Reasoning)