Hi Guys,
I need your support to grow this community, please do like and comment on youtube video.
if you find it useful and do share with your friends also.
I am trying my best to provide better High-quality tutorial for you all.
would really appreciate your support.!!
๐๐๐
I need your support to grow this community, please do like and comment on youtube video.
if you find it useful and do share with your friends also.
I am trying my best to provide better High-quality tutorial for you all.
would really appreciate your support.!!
๐๐๐
Forwarded from HackerRank Solutions
Prerequisite:
https://youtu.be/DuikFLPt8WQ
https://youtu.be/DuikFLPt8WQ
YouTube
Longest Common Subsequence(LCS) Dynamic Programming In O(N) Space | EP7
longest common Subsequence efficient algorithm in O(N) space - In this video, I have explained 4 different ways to solve the longest common subsequence problem.
longest common subsequence using recursion
longest common subsequence recursion with memorizationโฆ
longest common subsequence using recursion
longest common subsequence recursion with memorizationโฆ
Forwarded from HackerRank Solutions
YouTube
Common Child HackerRank Solution
๐ Must Join Coding interview preparation group: https://www.facebook.com/groups/codingip
โ๏ธ Longest Common Subsequence :https://youtu.be/DuikFLPt8WQ
Common child hackerrank solution: In this video, I have solved hackerrank common child problem withโฆ
โ๏ธ Longest Common Subsequence :https://youtu.be/DuikFLPt8WQ
Common child hackerrank solution: In this video, I have solved hackerrank common child problem withโฆ
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
๐๐๐
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
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โฆ
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โฆ