Star 历史趋势
数据来源: GitHub API · 生成自 Stargazers.cn
README.md

Aditya-verma-youtube-playlist-code

This repo consists of aditya verma youtube channel code for different section, I am still working this soon it will be updated fully, This repo I made for the purpose of revision Time and space complexity will be updated for all programs.

Starting a new 100-day journey with LeetCode problems! Simplifying the tough ones for those in need. Let's tackle coding challenges together! Click below link! 🚀 #LeetCodeSimplified

The-Leetcode-Sprint

Let's connect on discord for Technical and DSA related Discussion: DisCord

If you want to explore more programes of DSA you can visit this REPO

Show some  ❤️  by starring this repository! It will push me to give more percentage of efforts

Dynamic Programming

S.NoProblemHandwritten NotesTimeSpace
1Knapsack Recursion:blue_book:O(2^n)O(1)
2Knapsack Memoization-Top-Down:blue_book:O(N*W)O(N*W)
3Knapsack Bottom-Up(DP):blue_book:O(N*W)O(N*W)
4Subset sum(Knapsack Variation):blue_book:O(N*W)O(N*W)
5Equal sum partition(subset sum & Knapsack Variation):blue_book:O(N*W)O(N*W)
6Count of Subsets with given Sum(subset sum & Knapsack Variation):blue_book:O(N*W)O(N*W)
7Minimum subset sum difference:blue_book:O(N*W)O(N*W)
8Count the number of subset with given difference:blue_book:O(N*W)O(N*W)
9Target sum(Leetcode):blue_book:O(N*W)O(N*W)
10Unbounded Knapsack:blue_book:O(N*W)O(N*W)
11Rod cutting problem(Unbounded Knapsack):blue_book:O(N*W)O(N*W)
12Coin change problem : maximum no of ways:blue_book:O(N*W)O(N*W)
13Coin change problem: Minimum number of coin:blue_book:O(N*W)O(N*W)
14Longest Common Subsequence Recursive:blue_book:O(N*W)O(N*W)
15Longest Common Subsequence Top down (Memoization):blue_book:O(N*W)O(N*W)
16Longest Common Subsequence Bottom Up(DP):blue_book:O(N*W)O(N*W)
17Longest Common Substring:blue_book:O(N*W)O(N*W)
18Print Longest Common Subsequence:blue_book:O(N*W)O(N*W)
19Shortest Common Supersequence:blue_book:O(N*W)O(N*W)
20Minimum insertion & deletion to convert a to b:blue_book:O(N*W)O(N*W)
21Longest Palindromic Subsequence:blue_book:O(N*W)O(N*W)
22Minimum number of deletions to make a string palindrome:blue_book:O(N*W)O(N*W)
23Print Shortest Common Supersequence:blue_book:O(N*W)O(N*W)
24Longest repeating subsequence:blue_book:O(N*W)O(N*W)
25Sequence pattern matching:blue_book:O(N*W)O(N*W)
26Minimum Number of insertion to make a string palindrome:blue_book:O(N*W)O(N*W)
27Matrix Chain Multiplication Recursive:blue_book:O(N*W)O(N*W)
28Matrix Chain Multiplication Top Down (Memoization):blue_book:O(N*W)O(N*W)
29Palindrome Partitioning Recursive:blue_book:O(N*W)O(N*W)
30Palindrome Partitioning Memoization:blue_book:O(N*W)O(N*W)
31Palindrome Partitioning Memoized optimization:blue_book:O(N*W)O(N*W)
32Evaluate Expression to true Recursive:blue_book:O(N*W)O(N*W)
33Evaluate expression to true memoization using map:blue_book:O(N*W)O(N*W)
34Evaluate expression to true memoization using 3d array:blue_book:O(N*W)O(N*W)
35Scramble string recursive:blue_book:O(N*W)O(N*W)
36Scramble string Top Down:blue_book:O(N*W)O(N*W)
37Egg dropping problem recursive:blue_book:O(N*W)O(N*W)
38Egg dropping problem Top Down(memoization):blue_book:O(N*W)O(N*W)
39Egg dropping problem memoization optimization:blue_book:O(N*W)O(N*W)
40Dynamic programming on trees Syntax:blue_book:O(N*W)O(N*W)
41Diameter of binary tree:blue_book:O(N*W)O(N*W)
42Max path sum from any node to any:blue_book:O(N*W)O(N*W)
43 Max path sum from leaf to leaf:blue_book:O(N*W)O(N*W)

Stack

S.NoProblemHandwritten NotesTimeSpace
1Nearest greater to right:blue_book:O(n)O(n)
2Nearest greater to left:blue_book:O(n)O(n)
3Nearest smaller to left:blue_book:O(n)O(n)
4Nearest Smaller to right:blue_book:O(n)O(n)
5Stock span problem:blue_book:O(n)O(n)
5Maximum Rectangular Area in a Histogram:blue_book:O(n)O(n)
6Max area rectangle in Binary matrix:blue_book:O(n)O(n)

Binary Search

S.NoProblemHandwritten NotesTimeSpace
1Binary Search:blue_book:O(logn)O(logn)
2Binary search on reverse sorted array:blue_book:O(logn)O(logn)
3Order not known or Agonostic BS:blue_book:O(logn)O(logn)

Heap

S.NoProblemHandwritten NotesTimeSpace
1Kth smallest element:blue_book:O(n log k)O(n log k)
2Kth largest element in an array:blue_book:O(n log k)O(n log k)
3Nearly Sorted Algorithm or sort k sorted array:blue_book:O(n log k)O(n log k)

Sliding Window

S.NoProblemHandwritten NotesTimeSpace
1Maximum Sum Subarray of size K:blue_book:O(n)O(1)
2First negative integer in every window of size k:blue_book:O(n)O(K)

关于 About

This repo consists of aditya verma youtube channel code for different section.

语言 Languages

C++100.0%

提交活跃度 Commit Activity

代码提交热力图
过去 52 周的开发活跃度
0
Total Commits
峰值: 1次/周
Less
More

核心贡献者 Contributors