Uploaded July 2019 | Updated December 2026, 1 day ago
Dynamic programming Introduction | What Is Dynamic programming | How To Use It
This video is the introduction to dynamic programming which covers below topics-
What is Dynamic Programming, In programming world?
Components of Dynamic programming
Characteristics of Dynamic Programming
β’ Optimal Substructure Property
β’ Overlapping Subproblems
Dynamic Programming Methods
β’ Top-down with Memoization
β’ Bottom-up with Tabulation
π΄ DONT CLICK THIS: bit.ly/2G4cEuc
π Like us on Facebook: facebook.com/HackerRankSolutionTutorials
πShare this video with your friend: youtu.be/_l9Yx4olAYM
β Join our community βΊ
π Coding interview preparation group: facebook.com/groups/codingip
π Telegram link for algorithmic tutorial: https://t.me/javaaid
π Telegram link for hackerrank solutions: https://t.me/hackerranksolutions
β Recommended playlists βΊ
π Dynamic Programming Tutorial For Beginner: youtube.com/watch?v=ewXklhesC-w&list=PLSIpQf0NbcClDpWE58Y-oSJro_W3LO8Nb
π New To JAVAAID ? Watch These Videos: youtube.com/watch?v=pVS3yhlzrlQ&list=PLSIpQf0NbcClvBksfrr_jOpZCraiog3-J
π Algorithms Fundamental: youtube.com/playlist?list=PLSIpQf0NbcCk2O05hkxHPtVqGRGtnClh8
π Coding Interview Questions: youtube.com/playlist?list=PLSIpQf0NbcCm1HjcbM6aAoDUdpZyS1YBP
π All hackerrank solutions: youtube.com/watch?v=oz_yowFTrgs&list=PLSIpQf0NbcCltzNFrOJkQ4J4AAjW3TSmA
π Letβs Connect βΊ
Git Hub: github.com/kanahaiya
Twitter: twitter.com/Kanahaiyagupta
Linked in: linkedin.com/in/kanahaiya-gupta
Facebook: facebook.com/coolkanahaiya
Instagram: instagram.com/coolkanahaiya
#JAVAAID #dynamicprogramming #HackerRank #JavaAidTutorials #Programming #DataStructures #algorithms #coding #competitiveprogramming #JavaAidTutorials #Java #codinginterview #problemsolving #KanahaiyaGupta #hackerrankchallenges
Dynamic programming Introduction | What Is Dynamic programming | How To Use It
This video is the introduction to dynamic programming which covers below topics-
What is Dynamic Programming, In programming world?
Components of Dynamic programming
Characteristics of Dynamic Programming
β’ Optimal Substructure Property
β’ Overlapping Subproblems
Dynamic Programming Methods
β’ Top-down with Memoization
β’ Bottom-up with Tabulation
π΄ DONT CLICK THIS: bit.ly/2G4cEuc
π Like us on Facebook: facebook.com/HackerRankSolutionTutorials
πShare this video with your friend: youtu.be/_l9Yx4olAYM
β Join our community βΊ
π Coding interview preparation group: facebook.com/groups/codingip
π Telegram link for algorithmic tutorial: https://t.me/javaaid
π Telegram link for hackerrank solutions: https://t.me/hackerranksolutions
β Recommended playlists βΊ
π Dynamic Programming Tutorial For Beginner: youtube.com/watch?v=ewXklhesC-w&list=PLSIpQf0NbcClDpWE58Y-oSJro_W3LO8Nb
π New To JAVAAID ? Watch These Videos: youtube.com/watch?v=pVS3yhlzrlQ&list=PLSIpQf0NbcClvBksfrr_jOpZCraiog3-J
π Algorithms Fundamental: youtube.com/playlist?list=PLSIpQf0NbcCk2O05hkxHPtVqGRGtnClh8
π Coding Interview Questions: youtube.com/playlist?list=PLSIpQf0NbcCm1HjcbM6aAoDUdpZyS1YBP
π All hackerrank solutions: youtube.com/watch?v=oz_yowFTrgs&list=PLSIpQf0NbcCltzNFrOJkQ4J4AAjW3TSmA
π Letβs Connect βΊ
Git Hub: github.com/kanahaiya
Twitter: twitter.com/Kanahaiyagupta
Linked in: linkedin.com/in/kanahaiya-gupta
Facebook: facebook.com/coolkanahaiya
Instagram: instagram.com/coolkanahaiya
#JAVAAID #dynamicprogramming #HackerRank #JavaAidTutorials #Programming #DataStructures #algorithms #coding #competitiveprogramming #JavaAidTutorials #Java #codinginterview #problemsolving #KanahaiyaGupta #hackerrankchallenges


![How To Solve HackerRank Drawing Book Problem
In this video, I have explained hackerrank drawing book solution algorithm.
hackerrank drawing book problem can be solved by using mathematics. The complexity of drawing book hackerrank solution is O (1). This hackerrank problem is a part of Practice | Algorithms | Implementation | Drawing Book hackerrank challenge.
For simplicity, I have divided this hackerrank tutorial into 3 parts.
[00:00]Understanding the problem statement.
[03:24] Building the logic to solve the problem.
[08:48] Coding the logic using java (you can use your own preferred programming language).
π΄ DONT CLICK THIS: https://bit.ly/2G4cEuc
π Like us on Facebook: https://www.facebook.com/HackerRankSolutionTutorials
πShare this video with a YouTuber friend: https://youtu.be/aM2Y2PeXrhk
β Join our community βΊ
π Coding interview preparation group: https://www.facebook.com/groups/codingip
π Telegram link: https://t.me/hackerranksolutions
π Resources βΊ
π Problem statement: https://www.hackerrank.com/challenges/drawing-book/problem
π Source code: https://github.com/Java-aid/Hackerrank-Solutions/blob/master/HackerRankDashboard/CoreCS/GeneralProgramming/src/main/java/com/javaaid/hackerrank/solutions/generalprogramming/basicprogramming/DrawingBook.java
β
Recommended playlists βΊ
π All hackerrank solutions: https://www.youtube.com/watch?v=oz_yowFTrgs&list=PLSIpQf0NbcCltzNFrOJkQ4J4AAjW3TSmA
π Letβs Connect βΊ
Git Hub: https://github.com/kanahaiya
Twitter: https://twitter.com/Kanahaiyagupta
Linked in: https://www.linkedin.com/in/kanahaiya-gupta
Facebook: https://www.facebook.com/coolkanahaiya
Instagram: https://www.instagram.com/coolkanahaiya
#JAVAAID #HackerRankSolutions #HackerRankTutorials #implementation #drawingbook #HackerRank #JavaAidTutorials #Programming #DataStructures #algorithms #coding #competitiveprogramming #JavaAidTutorials #Java #codinginterview #problemsolving #KanahaiyaGupta #hackerrankchallenges How To Solve HackerRank Drawing Book Problem](https://i.ytimg.com/vi/aM2Y2PeXrhk/mqdefault.jpg)
![Jumping On The Clouds HackerRank Solution [One Liner Solution]
π Must Join Coding interview preparation group: https://www.facebook.com/groups/codingip
jumping on the clouds solution: In this video, I have solved hackerrank jumping on the clouds problem in ONE LINE.
This hackerrank problem is a part of Practice | Algorithms| Implementation | Jumping on the Clouds hackerrank challenge.
For simplicity, I have divided this hackerrank tutorial into 3 parts.
[00:00] Understanding the problem statement.
[06:27] Building the logic to solve the problem.
[23:15] Coding the logic using java (you can use your own preferred programming language).
π΄ DONT CLICK THIS: https://bit.ly/2G4cEuc
π Like us on Facebook: https://www.facebook.com/HackerRankSolutionTutorials
πShare this video with your friend: https://youtu.be/aY3UcgrHXrE
β Join our community βΊ
π Coding interview preparation group: https://www.facebook.com/groups/codingip
π Telegram link for algorithmic tutorial: https://t.me/javaaid
π Telegram link for hackerrank solutions: https://t.me/hackerranksolutions
π Resources βΊ
π Problem statement: https://www.hackerrank.com/challenges/jumping-on-the-clouds/problem
π‘ Source code: https://github.com/Java-aid/Hackerrank-Solutions/blob/master/HackerRankDashboard/CoreCS/GeneralProgramming/src/main/java/com/javaaid/hackerrank/solutions/generalprogramming/basicprogramming/JumpingOnTheClouds.java
β
Recommended playlists βΊ
π All hackerrank solutions: https://www.youtube.com/watch?v=oz_yowFTrgs&list=PLSIpQf0NbcCltzNFrOJkQ4J4AAjW3TSmA
π New To JAVAAID ? Watch These Videos: https://www.youtube.com/watch?v=pVS3yhlzrlQ&list=PLSIpQf0NbcClvBksfrr_jOpZCraiog3-J
π Algorithms Fundamental: https://www.youtube.com/playlist?list=PLSIpQf0NbcCk2O05hkxHPtVqGRGtnClh8
π Coding Interview Questions: https://www.youtube.com/playlist?list=PLSIpQf0NbcCm1HjcbM6aAoDUdpZyS1YBP
π Dynamic Programming Tutorial For Beginner: https://www.youtube.com/watch?v=ewXklhesC-w&list=PLSIpQf0NbcClDpWE58Y-oSJro_W3LO8Nb
π Letβs Connect βΊ
Facebook: https://www.facebook.com/coolkanahaiya
Instagram: https://www.instagram.com/javaaid.algorithms
Git Hub: https://github.com/kanahaiya
Twitter: https://twitter.com/Kanahaiyagupta
Linked in: https://www.linkedin.com/in/kanahaiya-gupta
#jumpingontheclouds #JAVAAID #HackerRankSolutions #implementation #HackerRank #JavaAidTutorials #programming #DataStructures #algorithms #coding #competitiveprogramming #java #codinginterview #problemsolving #KanahaiyaGupta #hackerrankchallenges Jumping On The Clouds HackerRank Solution [One Liner Solution]](https://i.ytimg.com/vi/aY3UcgrHXrE/mqdefault.jpg)


![Repeated String HackerRank Solution [Optimal Approach]
Repeated String HackerRank Solution: In this video, I have solved hackerrank Repeated String problem within a given time limit.
π Must Join Coding interview preparation group: https://www.facebook.com/groups/codingip
This hackerrank problem is a part of Practice | Algorithms| Implementation | Repeated String hackerrank challenge.
For simplicity, I have divided this hackerrank tutorial into 3 parts.
[00:00] Understanding the problem statement.
[05:16] Building the logic to solve the problem.
[13:10] Coding the logic using java (you can use your own preferred programming language).
π΄ DONT CLICK THIS: https://bit.ly/2G4cEuc
π Like us on Facebook: https://www.facebook.com/HackerRankSolutionTutorials
πShare this video with your friend: https://youtu.be/d5xLkTvJDWY
β Join our community βΊ
π Coding interview preparation group: https://www.facebook.com/groups/codingip
π Telegram link for algorithmic tutorial: https://t.me/javaaid
π Telegram link for hackerrank solutions: https://t.me/hackerranksolutions
π Resources βΊ
π Problem statement: https://www.hackerrank.com/challenges/repeated-string/problem
π‘ Source code: https://github.com/Java-aid/Hackerrank-Solutions/blob/master/HackerRankDashboard/CoreCS/GeneralProgramming/src/main/java/com/javaaid/hackerrank/solutions/generalprogramming/basicprogramming/RepeatedString.java
β
Recommended playlists βΊ
π All hackerrank solutions: https://www.youtube.com/watch?v=oz_yowFTrgs&list=PLSIpQf0NbcCltzNFrOJkQ4J4AAjW3TSmA
π New To JAVAAID ? Watch These Videos: https://www.youtube.com/watch?v=pVS3yhlzrlQ&list=PLSIpQf0NbcClvBksfrr_jOpZCraiog3-J
π Algorithms Fundamental: https://www.youtube.com/playlist?list=PLSIpQf0NbcCk2O05hkxHPtVqGRGtnClh8
π Coding Interview Questions: https://www.youtube.com/playlist?list=PLSIpQf0NbcCm1HjcbM6aAoDUdpZyS1YBP
π Dynamic Programming Tutorial For Beginner: https://www.youtube.com/watch?v=ewXklhesC-w&list=PLSIpQf0NbcClDpWE58Y-oSJro_W3LO8Nb
π Letβs Connect βΊ
Facebook: https://www.facebook.com/coolkanahaiya
Instagram: https://www.instagram.com/javaaid.algorithms
Git Hub: https://github.com/kanahaiya
Twitter: https://twitter.com/Kanahaiyagupta
Linked in: https://www.linkedin.com/in/kanahaiya-gupta
#repeatedstring #JAVAAID #HackerRankSolutions #implementation #HackerRank #JavaAidTutorials #programming #DataStructures #algorithms #coding #competitiveprogramming #java #codinginterview #problemsolving #KanahaiyaGupta #hackerrankchallenges Repeated String HackerRank Solution [Optimal Approach]](https://i.ytimg.com/vi/d5xLkTvJDWY/mqdefault.jpg)

![How To Solve Diagonal Difference HackerRank Problem [O(N) Solution] | HackerRank Solution
In this video, I have explained hackerrank diagonal difference solution algorithm.
hackerrank diagonal difference problem can be solved by using one for loop. The complexity of diagonal difference hackerrank solution is O (n). This hackerrank problem is a part of Practice | Algorithms | Warmup | Diagonal difference hackerrank challenge.
For simplicity, I have divided this hackerrank tutorial into 3 parts.
[00:00] Understanding the problem statement.
[01:00] Building the logic to solve the problem.
[10:55] Coding the logic using java (you can use your own preferred programming language).
π΄ DONT CLICK THIS: https://bit.ly/2G4cEuc
π Like us on Facebook: https://www.facebook.com/HackerRankSolutionTutorials
πShare this video with a YouTuber friend: https://youtu.be/f6bTIsj9ne8
β Join our community βΊ
π Coding interview preparation group: https://www.facebook.com/groups/codingip
π Telegram link: https://t.me/hackerranksolutions
π Resources βΊ
π Problem statement: https://www.hackerrank.com/challenges/diagonal-difference/problem
π‘ Source code: https://github.com/Java-aid/Hackerrank-Solutions/blob/master/HackerRankDashboard/CoreCS/GeneralProgramming/src/main/java/com/javaaid/hackerrank/solutions/generalprogramming/basicprogramming/DiagonalDifference.java
β
Recommended playlists βΊ
π All hackerrank solutions: https://www.youtube.com/watch?v=oz_yowFTrgs&list=PLSIpQf0NbcCltzNFrOJkQ4J4AAjW3TSmA
π Letβs Connect βΊ
Git Hub: https://github.com/kanahaiya
Twitter: https://twitter.com/Kanahaiyagupta
Linked in: https://www.linkedin.com/in/kanahaiya-gupta
Facebook: https://www.facebook.com/coolkanahaiya
Instagram: https://www.instagram.com/coolkanahaiya
#JAVAAID #diagonaldifference #HackerRankSolutions #HackerRankTutorials #HackerRank #JavaAidTutorials #programming #DataStructures #algorithms #coding #competitiveprogramming #java #codinginterview #problemsolving #KanahaiyaGupta #hackerrankchallenges #warmup How To Solve Diagonal Difference HackerRank Problem [O(N) Solution] | HackerRank Solution](https://i.ytimg.com/vi/f6bTIsj9ne8/mqdefault.jpg)
![Recursive Staircase Problem | Climbing Stairs | Walmart Coding Interview | EP3
Recursive Staircase Problem :- In this video, I have explained the recursive staircase problem fibonacci series pattern to solve count the number of ways to climb the staircase dynamic programming question. Climbing staircase problem can be solved easily by deducing fibonacci series pattern.
I have used FAST method to solve this DP problem.
After watching this video, you will be able to solve any dynamic programming problem which is based on fibonacci pattern.
Here are the Outlines:
0:36 problem statement
2:00 approach one [Solve the problem for smaller input]
6:50 deduce the pattern from series
7:53 fibonacci vs staircase problem
10:06 approach two [solve the problem in a reverse way]
13:10 FAST method to solve any dynamic programming problem
13:36 recursive solution to the staircase problem
14:29 complexity analysis for recursive approach
16:20 analyze the problem and look for overlapping problems
17:09 memoization technique to save the computation[Top down approach by using cache on global level]
18:29 memoization technique to save the computation[Top down approach by using cache as a method argument]
19:00 pure DP solution [bottom up approach]
20:08 efficient solution
21:36 pattern analysis
24:40 key take away from this lesson
25:40 demo
π΄ DONT CLICK THIS: https://bit.ly/2G4cEuc
β€ FAST Technique To Solve Any DP Problems: https://youtu.be/ftpbBbtyxdE
π Like us on Facebook: https://www.facebook.com/HackerRankSolutionTutorials
πShare this video with your friend: https://youtu.be/pVS3yhlzrlQ
π‘ Source code: https://gist.github.com/kanahaiya/9ab87eb465c0cb0e69b9358d50d75c6b
β Join our community βΊ
π Coding interview preparation group: https://www.facebook.com/groups/codingip
π Telegram link for algorithmic tutorial: https://t.me/javaaid
π Telegram link for hackerrank solutions: https://t.me/hackerranksolutions
β
Recommended playlists βΊ
π Dynamic Programming Tutorial For Beginner: https://www.youtube.com/watch?v=ewXklhesC-w&list=PLSIpQf0NbcClDpWE58Y-oSJro_W3LO8Nb
π New To JAVAAID ? Watch These Videos: https://www.youtube.com/watch?v=pVS3yhlzrlQ&list=PLSIpQf0NbcClvBksfrr_jOpZCraiog3-J
π Algorithms Fundamental: https://www.youtube.com/playlist?list=PLSIpQf0NbcCk2O05hkxHPtVqGRGtnClh8
π Coding Interview Questions: https://www.youtube.com/playlist?list=PLSIpQf0NbcCm1HjcbM6aAoDUdpZyS1YBP
π All hackerrank solutions: https://www.youtube.com/watch?v=oz_yowFTrgs&list=PLSIpQf0NbcCltzNFrOJkQ4J4AAjW3TSmA
π Try below problems to master the concept:
Hackerrank problem :https://www.hackerrank.com/challenges/ctci-recursive-staircase/problem?h_l=interview&playlist_slugs%5B%5D=interview-preparation-kit&playlist_slugs%5B%5D=recursion-backtracking
Leetcode problem :https://leetcode.com/problems/climbing-stairs/
HackerEarth problem :https://www.hackerearth.com/practice/algorithms/dynamic-programming/introduction-to-dynamic-programming-1/practice-problems/algorithm/staircase/None/
Interviewbit problem :https://www.interviewbit.com/problems/stairs/
π TOP 10 LEARNING RESOURCES
1) Cracking the Coding Interview :https://amzn.to/30HFJCE
2) Algorithms Hardcover :https://amzn.to/30Hjdd9
3) The Algorithm Design Manual :https://amzn.to/2AEtEDL
4) Data Structures & Algorithms in Java :https://amzn.to/2AG82ag
5) Data Structures and Algorithms Made Easy :https://amzn.to/2M8UvNK
6) Grokking Algorithms :https://amzn.to/2LKu8yD
7) Dynamic Programming for Coding Interviews :https://amzn.to/2AC7BO9
8) Introduction to Algorithms :https://amzn.to/2oSJAzq
9) Elements of Programming Interviews in Java :https://amzn.to/30MBjKO
10) Programming Interviews Exposed :https://amzn.to/2V8mFfO
π Letβs Connect βΊ
Git Hub: https://github.com/kanahaiya
Twitter: https://twitter.com/Kanahaiyagupta
Linked in: https://www.linkedin.com/in/kanahaiya-gupta
Facebook: https://www.facebook.com/coolkanahaiya
Instagram: https://www.instagram.com/coolkanahaiya
#JAVAAID #staircasepattern #fibonacciseries #hackerRank #javaAidTutorials #programming #dataStructures #algorithms #coding #competitiveprogramming #javaAidTutorials #java #codinginterview #problemsolving #kanahaiyaGupta #hackerrankchallenges Recursive Staircase Problem | Climbing Stairs | Walmart Coding Interview | EP3](https://i.ytimg.com/vi/ftpbBbtyxdE/mqdefault.jpg)
![How To Solve Staircase HackerRank Problem in Java [Using one for loop]
Staircase hackerrank problem can be solved using one for loop also. The complexity of staircase hackerrank solution is O (n^2). This hackerrank problem is a part of Practice | Algorithms | Warmup | Staircase hackerrank challenge.
This video explains how to solve staircase hackerrank problem in java. Here I have explained the algorithm to solve hackerrank staircase problem separately and then implemented the same algorithm using java.
For simplicity, I have divided this hackerrank tutorial into 3 parts.
1) Understanding the problem statement.
2) Building the logic to solve the problem.
3) Coding the logic using java (you can use your own preferred programming language).
π΄ Subscribe for more hackerrank tutorials: https://www.youtube.com/channel/UCx1hbK753l3WhwXP5r93eYA?sub_confirmation=1
π Like us on Facebook: https://www.facebook.com/HackerRankSolutionTutorials
πShare this video with a YouTuber friend: https://youtu.be/gDltV7pJw7A
β Join our community βΊ
π Coding interview preparation group: https://www.facebook.com/groups/codingip
π Telegram link: https://t.me/hackerranksolutions
π Resources βΊ
π Problem statement: https://www.hackerrank.com/challenges/staircase/problem
π Source code: https://github.com/Java-aid/Hackerrank-Solutions/blob/master/HackerRankDashboard/CoreCS/GeneralProgramming/src/main/java/com/javaaid/hackerrank/solutions/generalprogramming/basicprogramming/Staircase.java
β
Recommended playlists βΊ
π All hackerrank solutions: https://www.youtube.com/watch?v=oz_yowFTrgs&list=PLSIpQf0NbcCltzNFrOJkQ4J4AAjW3TSmA
π Letβs Connect βΊ
Git Hub: https://github.com/kanahaiya
Twitter: https://twitter.com/Kanahaiyagupta
Linked in: https://www.linkedin.com/in/kanahaiya-gupta
Facebook: https://www.facebook.com/coolkanahaiya
Instagram: https://www.instagram.com/coolkanahaiya
#JAVAAID #HackerRankSolutions #HackerRankTutorials #HackerRank #JavaAidTutorials #Programming #DataStructures #algorithms #coding #competitiveprogramming #JavaAidTutorials #Java #codinginterview #problemsolving #KanahaiyaGupta #hackerrankchallenges #warmup #staircase How To Solve Staircase HackerRank Problem in Java [Using one for loop]](https://i.ytimg.com/vi/gDltV7pJw7A/mqdefault.jpg)