Dynamic-Programming-Questions-by-Aditya-Verma icon indicating copy to clipboard operation
Dynamic-Programming-Questions-by-Aditya-Verma copied to clipboard

Aditya Verma (Youtube) DP Playlist Codes/Solutions.

Dynamic-Programming-Questions-by-Aditya-Verma

Codes of all questions covered by Aditya Verma in his Dynamic Programming Lectures
(Codes are tested on gfg / leetcode and are in the order of videos)
Note: Click on title of question to go to the page of code

  • 0/1 Knapsack
  • Unbounded Knapsack
  • Longest Common Subsequence (LCS)
  • Matrix Chain Multiplication (MCM)
    • MCM Recursive
    • MCM Memoization
    • Pallindrome Partitioning Recursive
    • Pallindrome Partitioning Memoization
    • Pallindrome Partitioning Optimization -> Still Giving TLE on GFG(Will Update if found better)
    • Evaluate Expression to true Recursive
    • Evaluate Expression to true Memoization: Using Map -> Giving TLE on GFG (Will Update if found better)
    • Evaluate Expression to true Memoization: Using 3d Array
    • Scramble String Recursive
    • Scramble String Memoization
    • Egg Dropping Problem Recursive
    • Egg Dropping Problem Memoization
    • Egg Dropping Problem Memoization Optimization - As suggested in lectures
    • Egg Dropping Problem Optimization Using Concept of Binary Search - Accepted on Leetcode (Credits: Comment below video)
  • DP on Trees (Direct Solutions to leetcode / gfg problems)