Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/ayusharyan143/dp-algorithms-dsa
https://github.com/ayusharyan143/dp-algorithms-dsa
Last synced: 29 days ago
JSON representation
- Host: GitHub
- URL: https://github.com/ayusharyan143/dp-algorithms-dsa
- Owner: ayusharyan143
- Created: 2024-05-28T06:33:22.000Z (7 months ago)
- Default Branch: master
- Last Pushed: 2024-05-29T06:49:50.000Z (7 months ago)
- Last Synced: 2024-05-29T19:30:43.469Z (7 months ago)
- Size: 11.7 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Dynamic Programming Problems Repository
![image](https://github.com/ayusharyan143/DP-DSA/assets/141620322/21eb80c7-9a19-4749-a11f-fa72991eb027)
Released: 29 May, 2024
Written by Ayush Aryan.
(C) Copyright 2024-2025, by Ayush Aryan . All rights reserved.
Please address all contributions, suggestions, and inquiries to the user mailing list
This repository contains solutions to various dynamic programming problems implemented in C++. Each file is named according to the problem it solves for easy identification and navigation.
## Table of Contents
- [0/1 Knapsack Problem](#01-knapsack-problem)
- [Coin Change Problem](#coin-change-problem)
- [Longest Common Subsequence (LCS)](#longest-common-subsequence-lcs)
- [Matrix Chain Multiplication](#matrix-chain-multiplication)
- [Sub-Set Sum Problem](#sub-set-sum-problem)## Problems and Solutions
### 0/1 Knapsack Problem
- **File Name**: `0|1 Knapsack problem`
- **Description**: Solution to the classic 0/1 Knapsack problem where we determine the maximum value that can be obtained by selecting items without exceeding the weight capacity of the knapsack.### Coin Change Problem
- **File Name**: `Coin Change`
- **Description**: Implementation of the coin change problem which finds the minimum number of coins required to make a certain amount using the given denominations.### Longest Common Subsequence (LCS)
- **File Name**: `LCS`
- **Description**: Algorithm to find the length of the longest common subsequence between two sequences.### Matrix Chain Multiplication
- **File Name**: `Matrix Chain Multiplication`
- **Description**: Solution to the matrix chain multiplication problem that determines the most efficient way to multiply a given sequence of matrices.### Sub-Set Sum Problem
- **File Name**: `Sub-Set Sum`
- **Description**: Solution to the subset sum problem where we check if there exists a subset of the given set with a sum equal to a given target.## History
- **0/1 Knapsack Problem**: Rename 10.cpp to 0|1 Knapsack problem (3 minutes ago)
- **Coin Change**: Rename 17.cpp to Coin Change (1 minute ago)
- **LCS**: Rename length common subsequence (LCS) to LCS (2 minutes ago)
- **Matrix Chain Multiplication**: Rename 12.cpp to Matrix Chain Multiplication (1 minute ago)
- **Sub-Set Sum**: Update and rename 18.cpp to Sub-Set Sum (now)## Repository Navigation
This repository is organized by problem type, with each solution in its respective file. Explore the files and their contents to understand the implementation of various dynamic programming problems.
---
Help people interested in this repository understand your project by exploring the README and the provided problem solutions.