[Code Addition Request]: Adding more problems in Basic DP Problems #812
Labels
Contributor
Denotes issues or PRs submitted by contributors to acknowledge their participation.
gssoc-ext
hacktoberfest
level1
Status: Assigned💻
Indicates an issue has been assigned to a contributor.
WoB'24 (Winter of Blockchain)
Contributions or tasks specific to the Winter of Blockchain 2024 event, focusing on blockchain-relat
Have you completed your first issue?
Guidelines
Latest Merged PR Link
N/A
Project Description
1. find the N-th Tribonacci number
Problem: Similar to the Fibonacci sequence, the Tribonacci sequence is defined as dp[n] = dp[n-1] + dp[n-2] + dp[n-3]. Given n, find the N-th Tribonacci number.
2. Subset Sum
Problem: Given a set of integers, find if there is a subset with sum equal to a given number.
3. 0/1 Knapsack Problem
Problem: Given n items with weight and value, find the maximum value you can carry in a knapsack of capacity W.
4. Paint House (with Colors Constraint)
Problem: You are tasked with painting houses. Each house can be painted in one of k colors, and no two adjacent houses can have the same color. Find the minimum cost to paint all houses.
Full Name
siri-chandana-macha
Participant Role
The text was updated successfully, but these errors were encountered: