Forwarded from VMware Workstation Pro (KGupta)
A Bitter Truth About Dynamic Programming
Dynamic programming is not that much tuff as it looks but needs a lot more practice than anything else. but still, it can always surprise you.
Even I struggled a lot but after solving a lot of coding problems, I saw some patterns which can be applied to a similar type of dynamic programming problems and thought of sharing with you all for free.
You can visit my youtube channel "JAVAAID -Coding Interview Preparation" to learn more about it.
I know there are a lot of resources out there on the internet but the problem is they will show you the direct solution but did not tell you, how they have arrived at that solution which will not help much.
But I have tried my best to cover this in my tutorial.
I have created a playlist Dynamic Programming Tutorial For Beginners which covers dynamic programming patterns problems and the most important thing Technique to Solve Any dynamic programming questions.
If you follow the four steps or FAST technique which are mentioned in this video, you will be able to solve any DP problems.
F→ Find the recursive solution
A→ Analyze the solution
S→ Save the result
T→ Tweak the solution
https://youtu.be/ewXklhesC-w
NOTE: If you find this tutorial helpful, please provide your feedback on my youtube video.
Dynamic programming is not that much tuff as it looks but needs a lot more practice than anything else. but still, it can always surprise you.
Even I struggled a lot but after solving a lot of coding problems, I saw some patterns which can be applied to a similar type of dynamic programming problems and thought of sharing with you all for free.
You can visit my youtube channel "JAVAAID -Coding Interview Preparation" to learn more about it.
I know there are a lot of resources out there on the internet but the problem is they will show you the direct solution but did not tell you, how they have arrived at that solution which will not help much.
But I have tried my best to cover this in my tutorial.
I have created a playlist Dynamic Programming Tutorial For Beginners which covers dynamic programming patterns problems and the most important thing Technique to Solve Any dynamic programming questions.
If you follow the four steps or FAST technique which are mentioned in this video, you will be able to solve any DP problems.
F→ Find the recursive solution
A→ Analyze the solution
S→ Save the result
T→ Tweak the solution
https://youtu.be/ewXklhesC-w
NOTE: If you find this tutorial helpful, please provide your feedback on my youtube video.
YouTube
Dynamic Programming Techniques | Dynamic Programming Tutorial | EP2
Dynamic Programming Techniques :-In this video, I have explained the technique to solve any dynamic programming problems and that technique is named as FAST in short.
After watching this video, you will be able to solve any dynamic programming problem. So…
After watching this video, you will be able to solve any dynamic programming problem. So…
Forwarded from HackerRank Solutions
YouTube
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|…
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|…
Hello Coding Lover,
In this video, I have explained the sliding window technique and how to use it. which is an optimal way to solve maximum size subarray of size K coding interview problem.
There are a lot of coding interview problems which can be solved by using this technique in an optimized way.
and this question is also asked in Google coding Interview in Telephonic round.
https://youtu.be/__guhvzO540
In this video, I have explained the sliding window technique and how to use it. which is an optimal way to solve maximum size subarray of size K coding interview problem.
There are a lot of coding interview problems which can be solved by using this technique in an optimized way.
and this question is also asked in Google coding Interview in Telephonic round.
https://youtu.be/__guhvzO540
YouTube
Sliding Window Technique | Google Coding Interview | Maximum Size SubArray Of Size K
Sliding Window Technique: In this video, I have explained sliding window technique which is the optimal way to solve maximum size subarray of size K coding interview problem.
There are a lot of coding interview problems which can be solved by using this…
There are a lot of coding interview problems which can be solved by using this…
Forwarded from HackerRank Solutions
Hey Guys,
We are on instagram too.
Please follow us on instagram.
@javaaid.algorithms
I am planning to come up with some interesting way to learn ds algo on insta.but need your support, please support us by following us on instagram.
Once we have some good numbers on instagram community, will start that service.
Please follow 👉 @javaaid.algorithms
🙏🙏🙏
We are on instagram too.
Please follow us on instagram.
@javaaid.algorithms
I am planning to come up with some interesting way to learn ds algo on insta.but need your support, please support us by following us on instagram.
Once we have some good numbers on instagram community, will start that service.
Please follow 👉 @javaaid.algorithms
🙏🙏🙏
Forwarded from HackerRank Solutions
Hello Coding Lover,
Just Learn this Amazing technique which is discussed in this tutorial and you will be able to solve more than 10 questions on leetcode.
In this video, I have explained two pointer technique which is the optimal way to solve problems related to arrays, strings and linked list in O(N) time.
There are a lot of coding interview problems which can be solved by using this technique in an optimized way.
https://youtu.be/2wVjt3yhGwg
🔴 DONT CLICK THIS: https://bit.ly/2G4cEuc
#JAVAAID #slidingwindowtechnique #leetcode #javaAidTutorials #programming #dataStructures #algorithms #coding #competitiveprogramming #google #java #codinginterview #problemsolving #kanahaiyaGupta #google #facebook #amazon #oracle #linkedin
Just Learn this Amazing technique which is discussed in this tutorial and you will be able to solve more than 10 questions on leetcode.
In this video, I have explained two pointer technique which is the optimal way to solve problems related to arrays, strings and linked list in O(N) time.
There are a lot of coding interview problems which can be solved by using this technique in an optimized way.
https://youtu.be/2wVjt3yhGwg
🔴 DONT CLICK THIS: https://bit.ly/2G4cEuc
#JAVAAID #slidingwindowtechnique #leetcode #javaAidTutorials #programming #dataStructures #algorithms #coding #competitiveprogramming #google #java #codinginterview #problemsolving #kanahaiyaGupta #google #facebook #amazon #oracle #linkedin
YouTube
Two Pointer Algorithm | Two Sum Problem | Solve DS Problems in O(N) Time
Two Pointer Algorithm For Coding Interview: In this video, I have explained two pointer technique which is the optimal way to solve problems related to arrays, strings and linked list in O(N) time.
There are a lot of coding interview problems which can…
There are a lot of coding interview problems which can…
Forwarded from HackerRank Solutions
Hello Coding Lover,
In this video, I have explained a general approach to solve climbing staircase problem which is based on fibonacci pattern.
how to identify the pattern and apply the same to solve such DP problems.
Here I have explained, four different ways to solve this problem.
Recursive Solution
Top-down with memoization
Bottom-up
Efficient solution
https://youtu.be/ftpbBbtyxdE
🔴 DONT CLICK THIS: https://bit.ly/2G4cEuc
#JAVAAID #staircase #leetcode #javaAidTutorials #programming #dataStructures #algorithms #coding #competitiveprogramming #google #java #codinginterview #problemsolving #kanahaiyaGupta #google #facebook #amazon #oracle #gs #walmart
In this video, I have explained a general approach to solve climbing staircase problem which is based on fibonacci pattern.
how to identify the pattern and apply the same to solve such DP problems.
Here I have explained, four different ways to solve this problem.
Recursive Solution
Top-down with memoization
Bottom-up
Efficient solution
https://youtu.be/ftpbBbtyxdE
🔴 DONT CLICK THIS: https://bit.ly/2G4cEuc
#JAVAAID #staircase #leetcode #javaAidTutorials #programming #dataStructures #algorithms #coding #competitiveprogramming #google #java #codinginterview #problemsolving #kanahaiyaGupta #google #facebook #amazon #oracle #gs #walmart
YouTube
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…
Forwarded from VMware Workstation Pro (KGupta)
Hello friends,
In this video, I have explained the 4 different ways to solve Longest Common Subsequence problem.
Here is the complete video tutorial which explains a generic algorithm with complexity analysis.
🔴 DONT CLICK THIS: https://bit.ly/2G4cEuc
outline:-
1 ) Longest common subsequence using recursion
2) Longest common subsequence recursion with memorization or top-down approach
3) Longest common Subsequence using bottom-up approach using the 2-D array
4) Longest common subsequence using a bottom-up approach using the 1-D array
https://youtu.be/DuikFLPt8WQ
In this video, I have explained the 4 different ways to solve Longest Common Subsequence problem.
Here is the complete video tutorial which explains a generic algorithm with complexity analysis.
🔴 DONT CLICK THIS: https://bit.ly/2G4cEuc
outline:-
1 ) Longest common subsequence using recursion
2) Longest common subsequence recursion with memorization or top-down approach
3) Longest common Subsequence using bottom-up approach using the 2-D array
4) Longest common subsequence using a bottom-up approach using the 1-D array
https://youtu.be/DuikFLPt8WQ
YouTube
JAVAAID - Coding Interview Preparation
I am Kanahaiya Gupta and currently working as a Software Engineer-||| in Walmart Labs.
I have started this channel to share my knowledge and experience for coding interviews.
JAVAAID is an educational initiative. It aims is to help people for building their…
I have started this channel to share my knowledge and experience for coding interviews.
JAVAAID is an educational initiative. It aims is to help people for building their…
Forwarded from 𝗖𝗿𝗮𝗰𝗸𝗶𝗻𝗴 𝗧𝗵𝗲 𝗖𝗼𝗱𝗶𝗻𝗴 𝗜𝗻𝘁𝗲𝗿𝘃𝗶𝗲𝘄
Let's see how many people know the correct answer?
What will be the complexity to find the Length Of The Longest Consecutive 1s In Binary representation of a number?
a) O(n) b) O(logn)
c) O(K) where K is no. of zeros d) None of these.
First comment your option below and then watch the video to know whether you are right or wrong?
https://youtu.be/bc7cxeDy308
What will be the complexity to find the Length Of The Longest Consecutive 1s In Binary representation of a number?
a) O(n) b) O(logn)
c) O(K) where K is no. of zeros d) None of these.
First comment your option below and then watch the video to know whether you are right or wrong?
https://youtu.be/bc7cxeDy308
YouTube
Length Of The Longest Consecutive 1s In Binary Representation Of A Number | BitManipulation
In this video, I have explained efficient way to count maximum number of consecutive 1s in binary string.
Length of the Longest Consecutive 1s in Binary Representation can be solved by using bit manipulation. The complexity of consecutive 1s in binary numbers…
Length of the Longest Consecutive 1s in Binary Representation can be solved by using bit manipulation. The complexity of consecutive 1s in binary numbers…
Forwarded from HackerRank Solutions
Today JAVAAID has hit 10,000 subscribers. Which I have never thought of. I want to thank each and every one of you for subscribing ❤️.
Now we are 10K family now
Now we are 10K family now
Forwarded from HackerRank Solutions
Interviewer: Do you know Dynamic Programming?
Me: Yes, a little bit.
Interviewer: Not prepared well, it seems, hmm?
Me: No issues, you can ask problem, will try to solve.
Interviewer: Suppose you are in electronics shop and owner went for lunch.
As no one is there in the shop and you thought of stealing the electronics item from his shop.
But you have only one bag which has capacity of 4lbs and you can put the item into your bag to hide.
But due to bag constraint you can only focus small item which are-
Phone having weight 1 lbs and price 150$
Laptop having weight 4 lbs and price 300$
Tablet having weight 3 lbs and price 200$
Write an algorithm to calculate the maximum profit which you can get without caught.
Me: smiled a bit, as all the given values seem familiar to me 🙂
For those who want to know how I answered for this problem here is the link-
https://youtu.be/aL6cU5dWmWM
Moral: Not only candidate even Interviewer also watches tutorials to judge the candidate. 😀
Me: Yes, a little bit.
Interviewer: Not prepared well, it seems, hmm?
Me: No issues, you can ask problem, will try to solve.
Interviewer: Suppose you are in electronics shop and owner went for lunch.
As no one is there in the shop and you thought of stealing the electronics item from his shop.
But you have only one bag which has capacity of 4lbs and you can put the item into your bag to hide.
But due to bag constraint you can only focus small item which are-
Phone having weight 1 lbs and price 150$
Laptop having weight 4 lbs and price 300$
Tablet having weight 3 lbs and price 200$
Write an algorithm to calculate the maximum profit which you can get without caught.
Me: smiled a bit, as all the given values seem familiar to me 🙂
For those who want to know how I answered for this problem here is the link-
https://youtu.be/aL6cU5dWmWM
Moral: Not only candidate even Interviewer also watches tutorials to judge the candidate. 😀
YouTube
01 Knapsack Problem | Amazon Coding Interview | Dynamic programming | EP5
Knapsack Problem Using Dynamic programming : -In this video, I have explained the knapsack problem which is the optimization version of subset-sum.
I have used FAST method to solve this DP problem.
Here are the Outlines:
01:47 Knapsack problem
02:17 Knapsack…
I have used FAST method to solve this DP problem.
Here are the Outlines:
01:47 Knapsack problem
02:17 Knapsack…
Forwarded from HackerRank Solutions
This tutorial ranked number 1 on Google and YouTube.so thought of sharing with you all.
If you are a competitive programmer or preparing for competitive programming or solve coding problems online then you would have come across one algorithm called prefix sum.
But most of people do know the benefit of this algorithm.
Here is the tutorial which explains why you must know prefix-sum algorithm.
https://youtu.be/scD312I7kkE
#tutorial #coding #programming #learntocode #algorithm #prefixsum #competitiveprogramming
If you are a competitive programmer or preparing for competitive programming or solve coding problems online then you would have come across one algorithm called prefix sum.
But most of people do know the benefit of this algorithm.
Here is the tutorial which explains why you must know prefix-sum algorithm.
https://youtu.be/scD312I7kkE
#tutorial #coding #programming #learntocode #algorithm #prefixsum #competitiveprogramming
YouTube
Why You Must Learn Prefix Sum Algorithm? | Need of prefix-sum Algorithm | EP1
You must know how prefix sum algorithm can help you to improve the performance of your code.
This video explains the need of prefix sum algorithm that why you must learn prefix-sum algorithm.
This is the first part of the video and don’t forget to watch the…
This video explains the need of prefix sum algorithm that why you must learn prefix-sum algorithm.
This is the first part of the video and don’t forget to watch the…
Forwarded from HackerRank Solutions
This tutorial also 𝗿𝗮𝗻𝗸𝗲𝗱 𝗻𝘂𝗺𝗯𝗲𝗿 𝟭 on 𝗚𝗼𝗼𝗴𝗹𝗲 and 𝗬𝗼𝘂𝗧𝘂𝗯𝗲.so thought of sharing 𝗣𝗮𝗿𝘁-𝟮 with you all.
If you are a 𝗰𝗼𝗺𝗽𝗲𝘁𝗶𝘁𝗶𝘃𝗲 𝗽𝗿𝗼𝗴𝗿𝗮𝗺𝗺𝗲𝗿 or preparing for 𝗰𝗼𝗺𝗽𝗲𝘁𝗶𝘁𝗶𝘃𝗲 𝗽𝗿𝗼𝗴𝗿𝗮𝗺𝗺𝗶𝗻𝗴 or solve coding problems online then you would have come across one algorithm called 𝗽𝗿𝗲𝗳𝗶𝘅 𝘀𝘂𝗺.
Here is the 𝗣𝗮𝗿𝘁-𝟮 of my previous tutorial which explains what is 𝗽𝗿𝗲𝗳𝗶𝘅 𝘀𝘂𝗺 𝗮𝗹𝗴𝗼𝗿𝗶𝘁𝗵𝗺 and how it works?
https://www.youtube.com/watch?v=pVS3yhlzrlQ
If you are a 𝗰𝗼𝗺𝗽𝗲𝘁𝗶𝘁𝗶𝘃𝗲 𝗽𝗿𝗼𝗴𝗿𝗮𝗺𝗺𝗲𝗿 or preparing for 𝗰𝗼𝗺𝗽𝗲𝘁𝗶𝘁𝗶𝘃𝗲 𝗽𝗿𝗼𝗴𝗿𝗮𝗺𝗺𝗶𝗻𝗴 or solve coding problems online then you would have come across one algorithm called 𝗽𝗿𝗲𝗳𝗶𝘅 𝘀𝘂𝗺.
Here is the 𝗣𝗮𝗿𝘁-𝟮 of my previous tutorial which explains what is 𝗽𝗿𝗲𝗳𝗶𝘅 𝘀𝘂𝗺 𝗮𝗹𝗴𝗼𝗿𝗶𝘁𝗵𝗺 and how it works?
https://www.youtube.com/watch?v=pVS3yhlzrlQ
YouTube
Prefix Sum Algorithm | Prefix Sum Array | Difference Array | Range Sum QueryO(1) | EP2
Prefix sum algorithm is mainly used for range query and the complexity of prefix sum algorithm is O(n).
This video explains the working of prefix sum algorithm.
This is the second part of the video and please watch the first part (why you must learn prefix…
This video explains the working of prefix sum algorithm.
This is the second part of the video and please watch the first part (why you must learn prefix…
Forwarded from HackerRank Solutions
How many of you thought that I have solved the problem in an interview but still did not 𝗴𝗲𝘁 𝘁𝗵𝗲 𝗼𝗳𝗳𝗲𝗿 or did not get what I expected?
If this has happened to you then this tutorial will be going to an eye-opener for you.
Generally, the candidate solves the problem with a brute force approach but ignore the optimize solution.
If you know this technique you can 𝗱𝗿𝗮𝘀𝘁𝗶𝗰𝗮𝗹𝗹𝘆 𝗿𝗲𝗱𝘂𝗰𝗲 𝘁𝗵𝗲 𝘁𝗶𝗺𝗲 𝗰𝗼𝗺𝗽𝗹𝗲𝘅𝗶𝘁𝘆 𝗼𝗳 𝘆𝗼𝘂𝗿 𝘀𝗼𝗹𝘂𝘁𝗶𝗼𝗻 𝗳𝗿𝗼𝗺 𝗢(𝗻²) 𝘁𝗼 𝗢(𝗻) and you can get a slight advantage in your interview.
And this technique is known as 𝗦𝗹𝗶𝗱𝗶𝗻𝗴 𝗪𝗶𝗻𝗱𝗼𝘄 𝗧𝗲𝗰𝗵𝗻𝗶𝗾𝘂𝗲 which is useful for solving problems related to 𝗮𝗿𝗿𝗮𝘆𝘀 𝗼𝗿 𝘀𝘁𝗿𝗶𝗻𝗴𝘀.
https://youtu.be/__guhvzO540
𝗡𝗼𝘁𝗲: if you find it useful, please do not forget to like and share your feedback in comments.
#slidingwindow #technique #algorithms #code #programming #coding #slidingwindowalgorithm
If this has happened to you then this tutorial will be going to an eye-opener for you.
Generally, the candidate solves the problem with a brute force approach but ignore the optimize solution.
If you know this technique you can 𝗱𝗿𝗮𝘀𝘁𝗶𝗰𝗮𝗹𝗹𝘆 𝗿𝗲𝗱𝘂𝗰𝗲 𝘁𝗵𝗲 𝘁𝗶𝗺𝗲 𝗰𝗼𝗺𝗽𝗹𝗲𝘅𝗶𝘁𝘆 𝗼𝗳 𝘆𝗼𝘂𝗿 𝘀𝗼𝗹𝘂𝘁𝗶𝗼𝗻 𝗳𝗿𝗼𝗺 𝗢(𝗻²) 𝘁𝗼 𝗢(𝗻) and you can get a slight advantage in your interview.
And this technique is known as 𝗦𝗹𝗶𝗱𝗶𝗻𝗴 𝗪𝗶𝗻𝗱𝗼𝘄 𝗧𝗲𝗰𝗵𝗻𝗶𝗾𝘂𝗲 which is useful for solving problems related to 𝗮𝗿𝗿𝗮𝘆𝘀 𝗼𝗿 𝘀𝘁𝗿𝗶𝗻𝗴𝘀.
https://youtu.be/__guhvzO540
𝗡𝗼𝘁𝗲: if you find it useful, please do not forget to like and share your feedback in comments.
#slidingwindow #technique #algorithms #code #programming #coding #slidingwindowalgorithm
YouTube
Sliding Window Technique | Google Coding Interview | Maximum Size SubArray Of Size K
Sliding Window Technique: In this video, I have explained sliding window technique which is the optimal way to solve maximum size subarray of size K coding interview problem.
There are a lot of coding interview problems which can be solved by using this…
There are a lot of coding interview problems which can be solved by using this…
Forwarded from VMware Workstation Pro (KGupta)
Hello Coding Lover,
In this video tutorial, I have explained the beautiful problem-solving technique called 𝗥𝗲𝗰𝘂𝗿𝘀𝗶𝗼𝗻 and its applications.
If you can visualize this 2D image in 3D then probably you would have heard of 𝗥𝗲𝗰𝘂𝗿𝘀𝗶𝗼𝗻.
𝑺𝒐𝒎𝒆 𝒕𝒊𝒎𝒆𝒔 𝒎𝒂𝒌𝒊𝒏𝒈 𝒂 𝒕𝒉𝒖𝒎𝒃𝒏𝒂𝒊𝒍 𝒘𝒊𝒍𝒍 𝒕𝒂𝒌𝒆 𝒎𝒐𝒓𝒆 𝒕𝒊𝒎𝒆 𝒕𝒉𝒂𝒏 𝒕𝒖𝒕𝒐𝒓𝒊𝒂𝒍 :)
𝗡𝗼𝘁𝗲: if you find it useful, please do not forget to like and share your feedback in comments.
https://youtu.be/Sf-LR7OI-Ww
#JAVAAID #recursion #leetcode #javaAidTutorials #programming #dataStructures #algorithms #coding #competitiveprogramming #google #java #codinginterview #problemsolving #kanahaiyaGupta #google #facebook #amazon #oracle #linkedin
In this video tutorial, I have explained the beautiful problem-solving technique called 𝗥𝗲𝗰𝘂𝗿𝘀𝗶𝗼𝗻 and its applications.
If you can visualize this 2D image in 3D then probably you would have heard of 𝗥𝗲𝗰𝘂𝗿𝘀𝗶𝗼𝗻.
𝑺𝒐𝒎𝒆 𝒕𝒊𝒎𝒆𝒔 𝒎𝒂𝒌𝒊𝒏𝒈 𝒂 𝒕𝒉𝒖𝒎𝒃𝒏𝒂𝒊𝒍 𝒘𝒊𝒍𝒍 𝒕𝒂𝒌𝒆 𝒎𝒐𝒓𝒆 𝒕𝒊𝒎𝒆 𝒕𝒉𝒂𝒏 𝒕𝒖𝒕𝒐𝒓𝒊𝒂𝒍 :)
𝗡𝗼𝘁𝗲: if you find it useful, please do not forget to like and share your feedback in comments.
https://youtu.be/Sf-LR7OI-Ww
#JAVAAID #recursion #leetcode #javaAidTutorials #programming #dataStructures #algorithms #coding #competitiveprogramming #google #java #codinginterview #problemsolving #kanahaiyaGupta #google #facebook #amazon #oracle #linkedin
YouTube
Recursion In Data Structures | Recursion Explained | EP1
Recursion In Data Structures: In this video, I have explained the basics of recursion and explain how mathematical modelling of function plays a major role in solving recursive programming problems.
I have discussed the application of recursion as well.…
I have discussed the application of recursion as well.…
Forwarded from VMware Workstation Pro (KGupta)
Have you ever thought of how 𝗿𝗲𝗰𝘂𝗿𝘀𝗶𝗼𝗻 𝘄𝗼𝗿𝗸𝘀 𝗶𝗻𝘁𝗲𝗿𝗻𝗮𝗹𝗹𝘆?
if not, watch this video to know the 𝗶𝗻𝘁𝗲𝗿𝗻𝗮𝗹𝘀 𝗼𝗳 𝗿𝗲𝗰𝘂𝗿𝘀𝗶𝗼𝗻.
In this video, I have 𝗺𝗼𝗱𝗶𝗳𝗶𝗲𝗱 𝗮 𝗽𝗿𝗼𝗴𝗿𝗮𝗺 𝗶𝗻 𝘀𝘂𝗰𝗵 𝗮 𝘄𝗮𝘆 that it will 𝘁𝗲𝗮𝗰𝗵 𝘆𝗼𝘂 𝗮𝗯𝗼𝘂𝘁 𝗿𝗲𝗰𝘂𝗿𝘀𝗶𝗼𝗻 𝗶𝗻𝘁𝗲𝗿𝗻𝗮𝗹 which will help you in 𝘃𝗶𝘀𝘂𝗮𝗹𝗶𝘇𝗶𝗻𝗴 𝗿𝗲𝗰𝘂𝗿𝘀𝗶𝘃𝗲 𝗮𝗹𝗴𝗼𝗿𝗶𝘁𝗵𝗺𝘀.
Here are the outlines for easy navigation:-
👉 Recursion Flow Chart
👉 Recursion Execution Flow
👉 Tree Visualization
👉 Memory Visualization
👉 Demo
𝗡𝗼𝘁𝗲: if you find it useful, please do not forget to like and share your feedback in comments.
https://lnkd.in/fnEEdKs
#JAVAAID #recursion-visualization #leetcode #javaAidTutorials #programming #recurion-basics #recursion-tutorial #algorithms #coding #competitiveprogramming #google #java #codinginterview #problemsolving #kanahaiyaGupta #google #facebook #amazon #oracle #linkedin
if not, watch this video to know the 𝗶𝗻𝘁𝗲𝗿𝗻𝗮𝗹𝘀 𝗼𝗳 𝗿𝗲𝗰𝘂𝗿𝘀𝗶𝗼𝗻.
In this video, I have 𝗺𝗼𝗱𝗶𝗳𝗶𝗲𝗱 𝗮 𝗽𝗿𝗼𝗴𝗿𝗮𝗺 𝗶𝗻 𝘀𝘂𝗰𝗵 𝗮 𝘄𝗮𝘆 that it will 𝘁𝗲𝗮𝗰𝗵 𝘆𝗼𝘂 𝗮𝗯𝗼𝘂𝘁 𝗿𝗲𝗰𝘂𝗿𝘀𝗶𝗼𝗻 𝗶𝗻𝘁𝗲𝗿𝗻𝗮𝗹 which will help you in 𝘃𝗶𝘀𝘂𝗮𝗹𝗶𝘇𝗶𝗻𝗴 𝗿𝗲𝗰𝘂𝗿𝘀𝗶𝘃𝗲 𝗮𝗹𝗴𝗼𝗿𝗶𝘁𝗵𝗺𝘀.
Here are the outlines for easy navigation:-
👉 Recursion Flow Chart
👉 Recursion Execution Flow
👉 Tree Visualization
👉 Memory Visualization
👉 Demo
𝗡𝗼𝘁𝗲: if you find it useful, please do not forget to like and share your feedback in comments.
https://lnkd.in/fnEEdKs
#JAVAAID #recursion-visualization #leetcode #javaAidTutorials #programming #recurion-basics #recursion-tutorial #algorithms #coding #competitiveprogramming #google #java #codinginterview #problemsolving #kanahaiyaGupta #google #facebook #amazon #oracle #linkedin
lnkd.in
LinkedIn
This link will take you to a page that’s not on LinkedIn
Forwarded from HackerRank Solutions
Hey Coding Lover,
This is the next tutorial in our recursion series. So far, we have learnt how 𝗿𝗲𝗰𝘂𝗿𝘀𝗶𝗼𝗻 𝘄𝗼𝗿𝗸𝘀 𝗶𝗻𝘁𝗲𝗿𝗻𝗮𝗹𝗹𝘆?
Now it is time to dig deeper and understand 𝗿𝗲𝗰𝘂𝗿𝘀𝗶𝗼𝗻 𝘁𝘆𝗽𝗲𝘀 𝗮𝗻𝗱 𝗱𝗶𝗳𝗳𝗲𝗿𝗲𝗻𝗰𝗲 𝗯𝗲𝘁𝘄𝗲𝗲𝗻 𝗶𝘁.
In this video, I have tried my best to explain the 𝗵𝗲𝗮𝗱 𝗮𝗻𝗱 𝘁𝗮𝗶𝗹 𝗿𝗲𝗰𝘂𝗿𝘀𝗶𝗼𝗻 𝗮𝗻𝗱 𝘁𝗵𝗲 𝗱𝗶𝗳𝗳𝗲𝗿𝗲𝗻𝗰𝗲 𝗯𝗲𝘁𝘄𝗲𝗲𝗻 𝗶𝘁, 𝘃𝗶𝗮 𝗮𝗻𝗶𝗺𝗮𝘁𝗶𝗼𝗻.
which will help you in 𝘃𝗶𝘀𝘂𝗮𝗹𝗶𝘇𝗶𝗻𝗴 𝗿𝗲𝗰𝘂𝗿𝘀𝗶𝘃𝗲 𝗮𝗹𝗴𝗼𝗿𝗶𝘁𝗵𝗺𝘀.
Here are the outlines for easy navigation:-
👉 [𝟬𝟬:𝟰𝟭] 𝗛𝗲𝗮𝗱 𝗥𝗲𝗰𝘂𝗿𝘀𝗶𝗼𝗻
👉 [𝟬𝟲:𝟭𝟰] 𝗧𝗮𝗶𝗹 𝗥𝗲𝗰𝘂𝗿𝘀𝗶𝗼𝗻
👉 [𝟭𝟭:𝟮𝟯] 𝗛𝗲𝗮𝗱 𝗩𝗦 𝗧𝗮𝗶𝗹 𝗥𝗲𝗰𝘂𝗿𝘀𝗶𝗼𝗻
👉 [𝟭𝟱:𝟬𝟮] 𝗗𝗲𝗺𝗼
👉 [𝟭𝟴:𝟬𝟲] 𝗤𝘂𝗶𝗰𝗸 𝗤𝘂𝗶𝘇?
𝗡𝗼𝘁𝗲: if you find it useful, please do not forget to like and share your feedback in comments.
https://youtu.be/lG6HxO7cDRw
#JAVAAID #headrecursion #tailrecursion #headvstailrecursion #leetcode #javaAidTutorials #programming #recursion-basics #recursion-tutorial #algorithms #coding #competitiveprogramming #google #java #problemsolving #kanahaiyaGupta
This is the next tutorial in our recursion series. So far, we have learnt how 𝗿𝗲𝗰𝘂𝗿𝘀𝗶𝗼𝗻 𝘄𝗼𝗿𝗸𝘀 𝗶𝗻𝘁𝗲𝗿𝗻𝗮𝗹𝗹𝘆?
Now it is time to dig deeper and understand 𝗿𝗲𝗰𝘂𝗿𝘀𝗶𝗼𝗻 𝘁𝘆𝗽𝗲𝘀 𝗮𝗻𝗱 𝗱𝗶𝗳𝗳𝗲𝗿𝗲𝗻𝗰𝗲 𝗯𝗲𝘁𝘄𝗲𝗲𝗻 𝗶𝘁.
In this video, I have tried my best to explain the 𝗵𝗲𝗮𝗱 𝗮𝗻𝗱 𝘁𝗮𝗶𝗹 𝗿𝗲𝗰𝘂𝗿𝘀𝗶𝗼𝗻 𝗮𝗻𝗱 𝘁𝗵𝗲 𝗱𝗶𝗳𝗳𝗲𝗿𝗲𝗻𝗰𝗲 𝗯𝗲𝘁𝘄𝗲𝗲𝗻 𝗶𝘁, 𝘃𝗶𝗮 𝗮𝗻𝗶𝗺𝗮𝘁𝗶𝗼𝗻.
which will help you in 𝘃𝗶𝘀𝘂𝗮𝗹𝗶𝘇𝗶𝗻𝗴 𝗿𝗲𝗰𝘂𝗿𝘀𝗶𝘃𝗲 𝗮𝗹𝗴𝗼𝗿𝗶𝘁𝗵𝗺𝘀.
Here are the outlines for easy navigation:-
👉 [𝟬𝟬:𝟰𝟭] 𝗛𝗲𝗮𝗱 𝗥𝗲𝗰𝘂𝗿𝘀𝗶𝗼𝗻
👉 [𝟬𝟲:𝟭𝟰] 𝗧𝗮𝗶𝗹 𝗥𝗲𝗰𝘂𝗿𝘀𝗶𝗼𝗻
👉 [𝟭𝟭:𝟮𝟯] 𝗛𝗲𝗮𝗱 𝗩𝗦 𝗧𝗮𝗶𝗹 𝗥𝗲𝗰𝘂𝗿𝘀𝗶𝗼𝗻
👉 [𝟭𝟱:𝟬𝟮] 𝗗𝗲𝗺𝗼
👉 [𝟭𝟴:𝟬𝟲] 𝗤𝘂𝗶𝗰𝗸 𝗤𝘂𝗶𝘇?
𝗡𝗼𝘁𝗲: if you find it useful, please do not forget to like and share your feedback in comments.
https://youtu.be/lG6HxO7cDRw
#JAVAAID #headrecursion #tailrecursion #headvstailrecursion #leetcode #javaAidTutorials #programming #recursion-basics #recursion-tutorial #algorithms #coding #competitiveprogramming #google #java #problemsolving #kanahaiyaGupta
YouTube
Head Recursion | Tail Recursion | Head VS Tail Recursion | EP3
In this video, we will learn head recursion, tail recursion and head vs tail recursion with example.
recursion basics with examples: https://youtu.be/Sf-LR7OI-Ww
python Tutor Tutorial link: https://youtu.be/TRMKJucB3B8
recursion visualization: https://yo…
recursion basics with examples: https://youtu.be/Sf-LR7OI-Ww
python Tutor Tutorial link: https://youtu.be/TRMKJucB3B8
recursion visualization: https://yo…
Forwarded from HackerRank Solutions
Hi Coding Lover,
Here is one more tutorial which will 𝗲𝗻𝗵𝗮𝗻𝗰𝗲 𝘆𝗼𝘂𝗿 𝗱𝗲𝗯𝘂𝗴𝗴𝗶𝗻𝗴 𝘀𝗸𝗶𝗹𝗹𝘀.
Today, I have explained how to 𝘃𝗶𝘀𝘂𝗮𝗹𝗶𝘇𝗲 𝘆𝗼𝘂𝗿 𝗰𝗼𝗱𝗲 𝗲𝘅𝗲𝗰𝘂𝘁𝗶𝗼𝗻 𝗳𝗹𝗼𝘄 and get help from others if you stuck.
It supports most of the language like 𝗖, 𝗖++, 𝗝𝗮𝘃𝗮, 𝗝𝗮𝘃𝗮𝗦𝗰𝗿𝗶𝗽𝘁, 𝗧𝘆𝗽𝗲𝗦𝗰𝗿𝗶𝗽𝘁, 𝗥𝘂𝗯𝘆 etc.
𝗡𝗼𝘁𝗲: if you find it useful, please do not forget to like and share your feedback in comments.
https://youtu.be/TRMKJucB3B8
#JAVAAID #leetcode #javaAidTutorials #programming #recursion-basics #recursion-tutorial #algorithms #coding #competitiveprogramming #google #java #problemsolving #kanahaiyaGupta #pythontutor #execution
Here is one more tutorial which will 𝗲𝗻𝗵𝗮𝗻𝗰𝗲 𝘆𝗼𝘂𝗿 𝗱𝗲𝗯𝘂𝗴𝗴𝗶𝗻𝗴 𝘀𝗸𝗶𝗹𝗹𝘀.
Today, I have explained how to 𝘃𝗶𝘀𝘂𝗮𝗹𝗶𝘇𝗲 𝘆𝗼𝘂𝗿 𝗰𝗼𝗱𝗲 𝗲𝘅𝗲𝗰𝘂𝘁𝗶𝗼𝗻 𝗳𝗹𝗼𝘄 and get help from others if you stuck.
It supports most of the language like 𝗖, 𝗖++, 𝗝𝗮𝘃𝗮, 𝗝𝗮𝘃𝗮𝗦𝗰𝗿𝗶𝗽𝘁, 𝗧𝘆𝗽𝗲𝗦𝗰𝗿𝗶𝗽𝘁, 𝗥𝘂𝗯𝘆 etc.
𝗡𝗼𝘁𝗲: if you find it useful, please do not forget to like and share your feedback in comments.
https://youtu.be/TRMKJucB3B8
#JAVAAID #leetcode #javaAidTutorials #programming #recursion-basics #recursion-tutorial #algorithms #coding #competitiveprogramming #google #java #problemsolving #kanahaiyaGupta #pythontutor #execution
YouTube
Python Tutor | Java Visualizer -Visualize Code Execution Of C Java JavaScript Python Ruby TypeScript
Python Tutor | java visualizer -Visualize Code Execution Of C C++ Java JavaScript Python Ruby TypeScript:
In this video, I have explained the usage of Python Tutor and java visualizer tool for every programmer and how to get help from your fellow coders.…
In this video, I have explained the usage of Python Tutor and java visualizer tool for every programmer and how to get help from your fellow coders.…
Forwarded from VMware Workstation Pro (KGupta)
Hi Coding Lover,
In this tutorial, I have covered the most common dynamic programming interview question 𝗟𝗼𝗻𝗴𝗲𝘀𝘁 𝗖𝗼𝗺𝗺𝗼𝗻 𝗦𝘂𝗯𝘀𝘁𝗿𝗶𝗻𝗴 which is usually asked in product-based MNC's.
Here I have explained the 𝗳𝗼𝘂𝗿 𝗱𝗶𝗳𝗳𝗲𝗿𝗲𝗻𝘁 𝘄𝗮𝘆𝘀 𝘁𝗼 𝘀𝗼𝗹𝘃𝗲 𝘁𝗵𝗶𝘀 𝗽𝗿𝗼𝗯𝗹𝗲𝗺 and below are the outlines-
𝗧𝗮𝗯𝗹𝗲 𝗼𝗳 𝗖𝗼𝗻𝘁𝗲𝗻𝘁:
👉[00:15] Problem statement
👉[02:17] Longest common substring
👉[03:00] Algorithm
👉[06:54] Recurrence relation
👉[08:00] Recursive solution
👉[09:42] Recurrence tree
👉[11:52] Top-down approach with memoization
👉[13:30] Bottom-up approach/ DP solution
👉[19:20] Demo
𝗡𝗼𝘁𝗲: if you find it useful, please do not forget to like and share your feedback in comments.
https://lnkd.in/faC5uGu
#JAVAAID #lcs #longestcommonsubstring #leetcode #javaAidTutorials #programming #algorithms #coding #competitiveprogramming #google #java #problemsolving #kanahaiyaGupta
In this tutorial, I have covered the most common dynamic programming interview question 𝗟𝗼𝗻𝗴𝗲𝘀𝘁 𝗖𝗼𝗺𝗺𝗼𝗻 𝗦𝘂𝗯𝘀𝘁𝗿𝗶𝗻𝗴 which is usually asked in product-based MNC's.
Here I have explained the 𝗳𝗼𝘂𝗿 𝗱𝗶𝗳𝗳𝗲𝗿𝗲𝗻𝘁 𝘄𝗮𝘆𝘀 𝘁𝗼 𝘀𝗼𝗹𝘃𝗲 𝘁𝗵𝗶𝘀 𝗽𝗿𝗼𝗯𝗹𝗲𝗺 and below are the outlines-
𝗧𝗮𝗯𝗹𝗲 𝗼𝗳 𝗖𝗼𝗻𝘁𝗲𝗻𝘁:
👉[00:15] Problem statement
👉[02:17] Longest common substring
👉[03:00] Algorithm
👉[06:54] Recurrence relation
👉[08:00] Recursive solution
👉[09:42] Recurrence tree
👉[11:52] Top-down approach with memoization
👉[13:30] Bottom-up approach/ DP solution
👉[19:20] Demo
𝗡𝗼𝘁𝗲: if you find it useful, please do not forget to like and share your feedback in comments.
https://lnkd.in/faC5uGu
#JAVAAID #lcs #longestcommonsubstring #leetcode #javaAidTutorials #programming #algorithms #coding #competitiveprogramming #google #java #problemsolving #kanahaiyaGupta
lnkd.in
LinkedIn
This link will take you to a page that’s not on LinkedIn
Forwarded from 𝗖𝗿𝗮𝗰𝗸𝗶𝗻𝗴 𝗧𝗵𝗲 𝗖𝗼𝗱𝗶𝗻𝗴 𝗜𝗻𝘁𝗲𝗿𝘃𝗶𝗲𝘄
Hi Coding Lover,
In this tutorial, I have covered one more common dynamic programming interview question 𝗟𝗼𝗻𝗴𝗲𝘀𝘁 𝗖𝗼𝗺𝗺𝗼𝗻 𝗦𝘂𝗯𝘀𝗲𝗾𝘂𝗲𝗻𝗰𝗲 which is also asked in a lot of product-based MNC's.
Here I have explained the 𝗳𝗼𝘂𝗿 𝗱𝗶𝗳𝗳𝗲𝗿𝗲𝗻𝘁 𝘄𝗮𝘆𝘀 𝘁𝗼 𝘀𝗼𝗹𝘃𝗲 𝘁𝗵𝗶𝘀 𝗽𝗿𝗼𝗯𝗹𝗲𝗺 and below are the outlines-
𝗧𝗮𝗯𝗹𝗲 𝗼𝗳 𝗖𝗼𝗻𝘁𝗲𝗻𝘁:
👉[00:10] Problem statement
👉[02:44] Longest common Subsequence
👉[03:39] Algorithm
👉[07:06] Recurrence relation
👉[09:35] Recursive solution
👉[09:42] Recurrence tree
👉[13:22] Top-down approach with memoization
👉[14:51] Bottom-up approach/ DP solution (using 2-D array)
👉[25:10] Bottom-up approach/ DP solution (using 1-D array)
👉[30:11] Demo
𝗡𝗼𝘁𝗲: if you find it useful, please do not forget to like and share your feedback in comments.
https://lnkd.in/fNveH-Y
#JAVAAID #lcs #longestcommonsubsequence #leetcode #javaAidTutorials #programming #algorithms #coding #competitiveprogramming #google #java #problemsolving #kanahaiyaGupta
In this tutorial, I have covered one more common dynamic programming interview question 𝗟𝗼𝗻𝗴𝗲𝘀𝘁 𝗖𝗼𝗺𝗺𝗼𝗻 𝗦𝘂𝗯𝘀𝗲𝗾𝘂𝗲𝗻𝗰𝗲 which is also asked in a lot of product-based MNC's.
Here I have explained the 𝗳𝗼𝘂𝗿 𝗱𝗶𝗳𝗳𝗲𝗿𝗲𝗻𝘁 𝘄𝗮𝘆𝘀 𝘁𝗼 𝘀𝗼𝗹𝘃𝗲 𝘁𝗵𝗶𝘀 𝗽𝗿𝗼𝗯𝗹𝗲𝗺 and below are the outlines-
𝗧𝗮𝗯𝗹𝗲 𝗼𝗳 𝗖𝗼𝗻𝘁𝗲𝗻𝘁:
👉[00:10] Problem statement
👉[02:44] Longest common Subsequence
👉[03:39] Algorithm
👉[07:06] Recurrence relation
👉[09:35] Recursive solution
👉[09:42] Recurrence tree
👉[13:22] Top-down approach with memoization
👉[14:51] Bottom-up approach/ DP solution (using 2-D array)
👉[25:10] Bottom-up approach/ DP solution (using 1-D array)
👉[30:11] Demo
𝗡𝗼𝘁𝗲: if you find it useful, please do not forget to like and share your feedback in comments.
https://lnkd.in/fNveH-Y
#JAVAAID #lcs #longestcommonsubsequence #leetcode #javaAidTutorials #programming #algorithms #coding #competitiveprogramming #google #java #problemsolving #kanahaiyaGupta
lnkd.in
LinkedIn
This link will take you to a page that’s not on LinkedIn
Forwarded from HackerRank Solutions
Hey Coding Lover,
In this video, I have explained the 𝗼𝗽𝘁𝗶𝗺𝗶𝘇𝗲𝗱 𝘄𝗮𝘆 𝘁𝗼 𝘀𝗼𝗹𝘃𝗲 𝘂𝘁𝗼𝗽𝗶𝗮𝗻 𝘁𝗿𝗲𝗲 𝗵𝗮𝗰𝗸𝗲𝗿𝗿𝗮𝗻𝗸 𝗽𝗿𝗼𝗯𝗹𝗲𝗺 𝗶𝗻 𝗼𝗻𝗲 𝗹𝗶𝗻𝗲.
This hackerrank problem is a part of Practice | Algorithms| Implementation | utopian tree hackerrank challenge.
𝗡𝗼𝘁𝗲: if you find it useful, please do not forget to like and share your feedback in comments.
https://youtu.be/C0YaIr8_mQU
#utopiantree #JAVAAID #HackerRankSolutions #implementation #HackerRank #JavaAidTutorials #programming #DataStructures #algorithms #coding #competitiveprogramming #java #codinginterview #problemsolving #KanahaiyaGupta #hackerrankchallenges
In this video, I have explained the 𝗼𝗽𝘁𝗶𝗺𝗶𝘇𝗲𝗱 𝘄𝗮𝘆 𝘁𝗼 𝘀𝗼𝗹𝘃𝗲 𝘂𝘁𝗼𝗽𝗶𝗮𝗻 𝘁𝗿𝗲𝗲 𝗵𝗮𝗰𝗸𝗲𝗿𝗿𝗮𝗻𝗸 𝗽𝗿𝗼𝗯𝗹𝗲𝗺 𝗶𝗻 𝗼𝗻𝗲 𝗹𝗶𝗻𝗲.
This hackerrank problem is a part of Practice | Algorithms| Implementation | utopian tree hackerrank challenge.
𝗡𝗼𝘁𝗲: if you find it useful, please do not forget to like and share your feedback in comments.
https://youtu.be/C0YaIr8_mQU
#utopiantree #JAVAAID #HackerRankSolutions #implementation #HackerRank #JavaAidTutorials #programming #DataStructures #algorithms #coding #competitiveprogramming #java #codinginterview #problemsolving #KanahaiyaGupta #hackerrankchallenges
YouTube
Utopian Tree HackerRank Solution | Hackerrank Utopian Tree | [One Liner Solution]
utopian tree hackerrank solution: In this video, I have solved hackerrank utopian tree problem in one line.
👉 Must Join Coding interview preparation group: https://www.facebook.com/groups/codingip
This hackerrank problem is a part of Practice | Algorithms|…
👉 Must Join Coding interview preparation group: https://www.facebook.com/groups/codingip
This hackerrank problem is a part of Practice | Algorithms|…