Quay lại Trending
RepositoryC++INẤn Độ
shubham-chemate

shubham-chemate/Dynamic-Programming-Questions-by-Aditya-Verma

Aditya Verma (Youtube) DP Playlist Codes/Solutions.

188sao
83fork
3issue
1lượt xem

📚 Tổng hợp code Dynamic Programming từ Aditya Verma

Bộ code C++ tham khảo hoàn hảo cho mọi người đang học Dynamic Programming qua playlist nổi tiếng của YouTuber Aditya Verma.

Đây là kho lưu trữ chứa toàn bộ code C++ của các bài toán được đề cập trong series bài giảng Dynamic Programming của Aditya Verma. Các code đã được kiểm chứng trên GeeksforGeeks và LeetCode, được sắp xếp theo đúng thứ tự video để người học dễ dàng tham khảo. Mỗi bài toán đều đi kèm với liên kết video giảng giải chi tiết.

✨ Điểm nổi bật

  • Knapsack 0/1: Bao gồm cả 3 cách tiếp cận Recursive, Memoization và Bottom-up DP.
  • Các biến thể Knapsack: Subset Sum, Equal Sum Partition, Count Subsets, Target Sum...
  • Unbounded Knapsack: Rod Cutting, Coin Change (số cách và số đồng tối thiểu).
  • LCS (Longest Common Subsequence): Đệ quy, nhớ, DP dưới, cùng các biến thể như LCSubstring, Print LCS, SCS...
  • MCM (Matrix Chain Multiplication): Kèm các bài toán phân chia như Palindrome Partitioning và Evaluate Expression to True.
  • Link video hướng dẫn: Mỗi đoạn code đều gắn trực tiếp với video giảng tương ứng.

💡 Vì sao nên xem

Kho tài nguyên này không chỉ cung cấp code mẫu mà còn giúp người học hiểu rõ quy trình chuyển đổi từ cách tiếp cận ngây thơ (naive) sang memoization rồi mới tới DP tối ưu. Phù hợp với sinh viên, lập trình viên chuẩn bị thi hoặc chuẩn bị cho các kỳ thi coding.


#DynamicProgramming #CPlusPlus #AdityaVerma #TiniX

Dự án tương tự

Khám phá các dự án và mô hình AI khác có sự tương đồng.

RepositoryC++
kothariji/30-days-of-Dynamic-Programming

Sharing my 30 days long journey :purple_heart: of Dynamic Programming :dizzy: :fire: . This would not be possible without Aditya Verma's DP series :pray: :point_down: :point_down:

124
Dec 26, 2020
RepositoryC++
fontanf/packingsolver

A solver for (geometrical) packing problems

307
Oct 26, 2026
RepositoryC++
manosriram/Data-Structures

Data-Structures using C++.

131
Oct 28, 2020
RepositoryC++
codeinred/recursive-variant

Recursive Variant: A simple library for Recursive Variant Types

99
May 28, 2025
RepositoryPython
joblib/joblib

Computing with Python functions.

4.4k
Oct 16, 2026
RepositoryPython
mahmoud/glom

☄️ Python's nested data operator (and CLI), for all your declarative restructuring needs. Got data? Glom it! ☄️

2.2k
Sep 8, 2026
RepositoryRust
jaemk/cached

Rust cache structures and easy function memoization

2.1k
Oct 22, 2026
RepositoryJava
ljeng/cheat-sheet

Knowledge base for software engineers and research engineers

1.3k
Sep 16, 2026
RepositoryTypeScript
toomuchdesign/re-reselect

Enhance Reselect selectors with deeper memoization and cache management.

1.1k
Oct 19, 2026