- 50
- 174 596
Bharath Chandra (తెలుగు)
India
เข้าร่วมเมื่อ 8 ก.ค. 2012
Let's raise the bar!
Hi guys. I'm Bharath Chandra, an ex-Amazon Software Developer and an NIT Bhopal graduate. Ee channel lo mostly coding, productivity and colleges related info share chesthu untaanu. Randi Telugu content ni level-up chedham!!
Regular content kosam Instagram ki vacheyandi👇
Hi guys. I'm Bharath Chandra, an ex-Amazon Software Developer and an NIT Bhopal graduate. Ee channel lo mostly coding, productivity and colleges related info share chesthu untaanu. Randi Telugu content ni level-up chedham!!
Regular content kosam Instagram ki vacheyandi👇
Sliding Window Maximum(LeetCode 239) | Neetcode 20 / 150 | Bharath Chandra (Telugu)
Hello guys, cheers to another piece of learning. Today I talked about the "Trapping Rain Water" problem which is the first in Neetcode 150 list. It is one of the most asked questions in interviews and has some interesting ways to solve it.
In the above video, I showed all the different logics with which the problem can be solved and also the pseudocodes. Let me know if you got a hold of the logic?
Link to Two Pointer video - th-cam.com/video/ckTmoJjP5DQ/w-d-xo.html
Link to the problem - leetcode.com/problems/sliding-window-maximum/description/
Link to Neetcode 150 - neetcode.io/practice=
Regular updates from me on Discord, Insta and Telegram. I post job notifications of telegram and discord
Insta - bharathh_chandraa
Telegram - t.me/thebharathchandra
Discord - discord.gg/tvFcRtEPZK
LinkedIn - www.linkedin.com/in/lokesh-bharath-chandra-putnam/
0:00 - Introduction
1:03 - Problem Statement
3:15 - Brute Force Algorithm
6:46 - Brute Force Pseudocode
8:58 - Algorithm Using Map
18:58 - Pseudocode using map
21:37 - Algorithm Using Deque
33:28 - Pseudocode using Deque
In the above video, I showed all the different logics with which the problem can be solved and also the pseudocodes. Let me know if you got a hold of the logic?
Link to Two Pointer video - th-cam.com/video/ckTmoJjP5DQ/w-d-xo.html
Link to the problem - leetcode.com/problems/sliding-window-maximum/description/
Link to Neetcode 150 - neetcode.io/practice=
Regular updates from me on Discord, Insta and Telegram. I post job notifications of telegram and discord
Insta - bharathh_chandraa
Telegram - t.me/thebharathchandra
Discord - discord.gg/tvFcRtEPZK
LinkedIn - www.linkedin.com/in/lokesh-bharath-chandra-putnam/
0:00 - Introduction
1:03 - Problem Statement
3:15 - Brute Force Algorithm
6:46 - Brute Force Pseudocode
8:58 - Algorithm Using Map
18:58 - Pseudocode using map
21:37 - Algorithm Using Deque
33:28 - Pseudocode using Deque
มุมมอง: 236
วีดีโอ
Sliding Window Maximum(LeetCode 3) | Neetcode 19 / 150 | Bharath Chandra
มุมมอง 24319 ชั่วโมงที่ผ่านมา
Hello guys, cheers to another piece of learning. Today I talked about the "Sliding Window Maximum" problem which is the first in Neetcode 150 list. It is one of the most asked questions in interviews and has some interesting ways to solve it. In the above video, I showed all the different logics with which the problem can be solved and also the pseudocodes. Let me know if you got a hold of the ...
Permutation in String (LeetCode 567) | Neetcode 18 / 150 | Bharath Chandra
มุมมอง 37214 วันที่ผ่านมา
Hello guys, cheers to another piece of learning. Today I talked about the "Permutation in String" problem which is the first in Neetcode 150 list. It is one of the most asked questions in interviews and has some interesting ways to solve it. In the above video, I showed all the different logics with which the problem can be solved and also the pseudocodes. Let me know if you got a hold of the l...
Longest Repeating Character Replacement(LeetCode 424) | Neetcode 17 / 150 | Bharath Chandra
มุมมอง 67014 วันที่ผ่านมา
Hello guys, cheers to another piece of learning. Today I talked about the “Longest Repeating Character Replacement" problem which is the seventeenth in Neetcode 150 list. It is one of the most asked questions in interviews and has some interesting ways to solve it. In the above video, I showed all the different logics with which the problem can be solved and also the pseudocodes. Let me know if...
Longest Substring Without Repeating Characters(LeetCode 3) | Neetcode 16 / 150 | Bharath Chandra
มุมมอง 3.1K5 หลายเดือนก่อน
Hello guys, cheers to another piece of learning. Today I talked about the "Container With Most Water" problem which is the first in Neetcode 150 list. It is one of the most asked questions in interviews and has some interesting ways to solve it. In the above video, I showed all the different logics with which the problem can be solved and also the pseudocodes. Let me know if you got a hold of t...
Best Time to Buy and Sell Stock(LeetCode 121) | Neetcode 15 / 150 | Bharath Chandra (Telugu)
มุมมอง 1.3K5 หลายเดือนก่อน
Hello guys, cheers to another piece of learning. Today I talked about the "Best Time to Buy and Sell Stock" problem which is the first in Neetcode 150 list. It is one of the most asked questions in interviews and has some interesting ways to solve it. In the above video, I showed all the different logics with which the problem can be solved and also the pseudocodes. Let me know if you got a hol...
Trapping Rain Water(LeetCode 42) | Neetcode 14 / 150 | Bharath Chandra (Telugu)
มุมมอง 1.1K5 หลายเดือนก่อน
Hello guys, cheers to another piece of learning. Today I talked about the "Trapping Rain Water" problem which is the first in Neetcode 150 list. It is one of the most asked questions in interviews and has some interesting ways to solve it. In the above video, I showed all the different logics with which the problem can be solved and also the pseudocodes. Let me know if you got a hold of the log...
Container With Most Water(LeetCode 11) | Neetcode 13 / 150 | Bharath Chandra (Telugu)
มุมมอง 1.8K5 หลายเดือนก่อน
Hello guys, cheers to another piece of learning. Today I talked about the "Container With Most Water" problem which is the first in Neetcode 150 list. It is one of the most asked questions in interviews and has some interesting ways to solve it. In the above video, I showed all the different logics with which the problem can be solved and also the pseudocodes. Let me know if you got a hold of t...
3Sum Problem and Solution(LeetCode 15) | Neetcode 12 / 150 | Bharath Chandra (Telugu)
มุมมอง 1.7K5 หลายเดือนก่อน
Hello guys, cheers to another piece of learning. Today I talked about the "3Sum Problem" problem which is the first in Neetcode 150 list. It is one of the most asked questions in interviews and has some interesting ways to solve it. In the above video, I showed all the different logics with which the problem can be solved and also the codes to those logics in Python. Let me know if you got a ho...
Two Sum II - Input Array Is Sorted (LeetCode 167) | Neetcode 11 / 150 | Bharath Chandra (Telugu)
มุมมอง 1.2K5 หลายเดือนก่อน
Hello guys, cheers to another piece of learning. Today I talked about the "Two Sum II - Input Array Is Sorted" problem which is the first in Neetcode 150 list. It is one of the most asked questions in interviews and has some interesting ways to solve it. In the above video, I showed all the different logics with which the problem can be solved and also the codes to those logics in Python. Let m...
Valid Palindrome (LeetCode 125) | Neetcode 10 / 150 | Bharath Chandra (Telugu)
มุมมอง 1.5K6 หลายเดือนก่อน
Hello guys, cheers to another piece of learning. Today I talked about the "Valid Palindrome" problem which is the first in Neetcode 150 list. It is one of the most asked questions in interviews and has some interesting ways to solve it. In the above video, I showed all the different logics with which the problem can be solved and also the codes to those logics in Python. Let me know if you got ...
Longest Consecutive Sequence (LeetCode 128) | Neetcode 9/ 150 | Bharath Chandra (Telugu)
มุมมอง 2.1K6 หลายเดือนก่อน
Hello guys, cheers to another piece of learning. Today I talked about the "Longest Consecutive Sequence" problem which is the first in Neetcode 150 list. It is one of the most asked questions in interviews and has some interesting ways to solve it. In the above video, I showed all the different logics with which the problem can be solved and also the codes to those logics in Python. Let me know...
Valid Sudoku (LeetCode 36) | Neetcode 8 / 150 | Bharath Chandra (Telugu)
มุมมอง 2.6K6 หลายเดือนก่อน
Hello guys, cheers to another piece of learning. Today I talked about the "Valid Sudoku" problem which is the first in Neetcode 150 list. It is one of the most asked questions in interviews and has some interesting ways to solve it. In the above video, I showed all the different logics with which the problem can be solved and also the codes to those logics in Python. Let me know if you got a ho...
Product of array except self (LeetCode 238) | Neetcode 7 / 150 | Bharath Chandra (Telugu)
มุมมอง 2.1K6 หลายเดือนก่อน
Hello guys, cheers to another piece of learning. Today I talked about the "Product of array except self" problem which is the first in Neetcode 150 list. It is one of the most asked questions in interviews and has some interesting ways to solve it. In the above video, I showed all the different logics with which the problem can be solved and also the codes to those logics in Python. Let me know...
Prefix Sum Arrays| Problem Solving| Subarrays | Bharath Chandra
มุมมอง 1.5K6 หลายเดือนก่อน
Hello guys, cheers to another piece of learning. Today I talked why we use Prefix Sum Arrays! Why do we need them when we have them? And I also discussed the ideation behind using them in strings problems. Link to Video on HashMaps - th-cam.com/video/ckTmoJjP5DQ/w-d-xo.html This video is a part of Neetcode 150 playlist on my channel Link to Neetcode 150 Playlist - th-cam.com/play/PLq57tMwpU41ZZ...
String Encode and Decode (LeetCode 271) | Neetcode 6 / 150 | Bharath Chandra (Telugu)
มุมมอง 1.5K6 หลายเดือนก่อน
String Encode and Decode (LeetCode 271) | Neetcode 6 / 150 | Bharath Chandra (Telugu)
Top K Frequent Elements (LeetCode 347) | Neetcode 5/ 150 | Bharath Chandra (తెలుగు)
มุมมอง 2.2K6 หลายเดือนก่อน
Top K Frequent Elements (LeetCode 347) | Neetcode 5/ 150 | Bharath Chandra (తెలుగు)
Time Complexity and Space Complexity in Telugu | Big O notation for interviews | Bharath Chandra
มุมมอง 22K6 หลายเดือนก่อน
Time Complexity and Space Complexity in Telugu | Big O notation for interviews | Bharath Chandra
Group Anagrams (LeetCode 49) | Neetcode 4/ 150 | Bharath Chandra (తెలుగు)
มุมมอง 1.5K6 หลายเดือนก่อน
Group Anagrams (LeetCode 49) | Neetcode 4/ 150 | Bharath Chandra (తెలుగు)
CountArrays and CountSort | Strings | Problem Solving| CountArrays vs HashMaps| Bharath Chandra
มุมมอง 1.5K6 หลายเดือนก่อน
CountArrays and CountSort | Strings | Problem Solving| CountArrays vs HashMaps| Bharath Chandra
Two Sum (LeetCode 1) | Neetcode 3 / 150 | Bharath Chandra (తెలుగు)
มุมมอง 2.2K6 หลายเดือนก่อน
Two Sum (LeetCode 1) | Neetcode 3 / 150 | Bharath Chandra (తెలుగు)
2 - Pointer Algorithm All Models | Intuition and Problem Solving | Bharath Chandra
มุมมอง 4.2K6 หลายเดือนก่อน
2 - Pointer Algorithm All Models | Intuition and Problem Solving | Bharath Chandra
Hashsets and HashMaps | Why and where do we use them in problems | Bharath Chandra
มุมมอง 5K6 หลายเดือนก่อน
Hashsets and HashMaps | Why and where do we use them in problems | Bharath Chandra
Valid Anagram (LeetCode 242) | Neetcode 2 / 150 | Bharath Chandra (తెలుగు)
มุมมอง 2.6K6 หลายเดือนก่อน
Valid Anagram (LeetCode 242) | Neetcode 2 / 150 | Bharath Chandra (తెలుగు)
Contains Duplicate (LeetCode 217) | Neetcode 1/ 150 | Bharath Chandra (తెలుగు)
มุมมอง 3.9K6 หลายเดือนก่อน
Contains Duplicate (LeetCode 217) | Neetcode 1/ 150 | Bharath Chandra (తెలుగు)
What is DSA? And Why should you learn it? #dsaroadmap #beginners
มุมมอง 31K10 หลายเดือนก่อน
What is DSA? And Why should you learn it? #dsaroadmap #beginners
My Amazon Interview Experience and 3 Takeaways
มุมมอง 6Kปีที่แล้ว
My Amazon Interview Experience and 3 Takeaways
Crack the Code with MassCoders | Bharath Chandra
มุมมอง 10Kปีที่แล้ว
Crack the Code with MassCoders | Bharath Chandra
How computers store photos, movies, and songs?
มุมมอง 2.1Kปีที่แล้ว
How computers store photos, movies, and songs?
Nice video bro
Nice video bro
I subscribed ,good !on new year day u doing coding , no one can stop you ! Keep it up !!
Thank you! Sharing your knowledge 8 years ago on youtube was not at all common. Kudos to you!
Nice explanation
import java.util.*; class telugu{ public static int Replacement(String s,int k){ HashMap<Character,Integer> hm =new HashMap<>(); int l=0; int maxF=0; int maxL=0; for(int r=0;r<s.length();r++){ char ch=s.charAt(r); hm.put(ch,hm.getOrDefault(ch, 0)+1); maxF=Math.max(hm.get(ch),maxF); if(r-l+1-maxF<=k){ maxL=r-l+1; }else{ while((r-l+1)-maxF>k){ char ch1 =s.charAt(l); hm.put(ch1,hm.getOrDefault(ch1,0)-1); if(hm.get(ch1)==0){ hm.remove(ch1); } l++; } } } return maxL; } public static void main(String[] args){ String s="ABAA"; int k=0; System.out.println(Replacement(s, k)); } } solution in java
Thank you for typing the code here! Migitha vallaki help avtadi🙌🏻
Wonderful explanation the way you are explaining 😎🤏 fantastic keep going
Do not stop this series
Excellent explanation❤❤❤
anna miru different approaches vadthunnaru and vatiki code kuda chupinchi oka 1 min explanation isthe chala bavuntadhi and useful untdhi anna.
❤
broo order to patu bytes lo kuda cheppandiii
Thankyou for the content, looks amazing. Is it possible to share java example of model-2 approach (moving of first and last pointers to right by cleverly eliminating elements)?
All the recent videos posted on this playlist are covering this exact topic. You'll for sure get clarity if you refer Minimum Window Problem or the one before that!
Brute Force : int main() { string s; cin>>s; int k; cin>>k; int n = s.size(); int Max = 0; for(int i=0;i<n;i++) { unordered_map<int,int>m; int Maxfreq = 0; for(int j=i;j<n;j++) { m[s[j]]++; Maxfreq = max(Maxfreq,m[s[j]]); if(((j-i+1)-Maxfreq)>k) { break; } Max = max(Max,(j-i+1)); } } cout<<Max; } Time Complexcity : O(n^2) Optimized Code : int characterReplacement(string s, int k) { int n = s.size(); int Max = 0; unordered_map<int,int>m; int l=0; int r=0; int Maxfreq=0; while(r<n) { m[s[r]]++; Maxfreq = max(Maxfreq,m[s[r]]); while(((r-l+1)-Maxfreq)>k) { m[s[l]]--; Maxfreq = max(Maxfreq,m[s[l]]); l++; } Max = max(Max,(r-l+1)); r++; } return Max; } Time Complexcity : O(n)
Thanks Manjith. Migitha vallaki help avtadi!
speechlesss ,one of the best explanations in youtube. please continue the theory like this ,it gives confidence
Hey, Thank you, Was really looking forward for this video.... :)
Happy to hear it helped! Keep practicing! 🔥
Explanation superb bro pls continue series fast upload
As possible as possible 4 months lo complete chei anna interviews vasthunai
Anna nuvvu views kuncham thakkuva vasthunnay ani videos apaku your videos are really helping me soo muchh anna
Endi bro.. ateey poenav..
Masters balu masters! Assalu time manage avvaledu. Ippudu time dorikinappudalla record chesi release chestunna!! Nee preparation ela nadustundi?
Thanks bro.. Nice explanation👍
Thank you. Keep practicing!!
Good Explanation bro
🔥 Atleast release 2 videos per week
Vere level explanation 🎉🎉 New trails work outing😊 Blocking board with flash quote😅
Thank you for the feedback Navaneetha. Continue chedam aithe!! Andaru meeku telisina quotes pampandi!😂
@@bharathh_chandraa 😄😃sure
happy new year anna
Thanks Venky. Neeku kooda a very happy new year, ee year DSA champ aipovaali!!
Happy new year Anna 🎉
Thank you Sasidhar. Neeku kooda Happy and Prosperous New Year🎉🎉
I remember doing this problem for the first time. appudu appudu nen endhuku puttinana ani anipinchindhi 😂. anyways u explained it really well anna. happy new year
Happy new year Appaji. Andariki amrutham panchadaaniki puttav nuvvu!😂😂 Problems solve chesi chesi ee problem intha easy na ane stage ki raavali nuvvu!🙌🏻
Nice explanation anna 👍 Please anna DSA series continue cheyandi it is very helpful for tech job aspirants 🙂
very great explanation bro views ravatledhu ani videos cheyyadam apaku bro we will support
annaya vachadu annaya ochaduu
Happy new year 🎊 lokesh anna Chala late ayindhi But parledhu I am waiting for your videos I hope you are doing great in your masters 😊🎉🎉❤
Thank you Navaneetha, how is your preparation going? Happy New Year to you too. Masters schedule is almost on my neck, so winter break lo time dorakagaane video release chestunna. Hope you get value out of it!
@@bharathh_chandraa Thankyou so much Nenu TCS lo join ayyanu 😀 Yesterday first month salary thisukunna 🎊 Inka DSA medha full concentrate cheyali 😀
Oh Congratulations!! Happy for you!! and you can help people in the community with their doubts and referrals. And yeah, All the best with your DSA preparation! This is the yearr!!
@@bharathh_chandraa ❤️😀🎉
Happy New Year 🎊🎊
Long time Manjith. Ela nadustundi antha? Happy New Year to you too!! Rock the year!
@bharathh_chandraa Fine Bro. Rock This Year With Your Content And Spread Coding Knowledge With All Job Aspirants
After A Loong Loooooong Time_ Anyways, Literally Very Much Excited To See U Again Broo_
I’m excited to see you guys succeed!! and ofcourse to accept all the love in the comments section too❤️
Anna Ochinnduu 🔥🔥
Anna supper cheppav asla ❤
Best channel to learn dsa in telugu ❤🔥
Way of teaching nice easy excellent great
Emana chepinav bro 👏
please write exact code without mistakes even colon or semicolon
what is the difference between Normal set and HashSet, both are same or not?
Both are not exactly same. Set data structure stores distinct data, and order em undadu. Also searching ki O(n) padtadi. Adhe Hashset aithe O(1) lo search chese laaga store cheskuntadi