- 57
- 29 735
Prateek Goel
India
เข้าร่วมเมื่อ 8 พ.ค. 2017
This channel is for educational videos about Dev and DSA.
A few things about me -
- I'm currently working at Goldman Sachs as a Software Engineer.
- I have done almost 4000+ Questions on platforms like Leetcode, Codeforces, and Codechef.
- I was an IICC Finalist and also a Code Gladiators Finalist.
A few things about me -
- I'm currently working at Goldman Sachs as a Software Engineer.
- I have done almost 4000+ Questions on platforms like Leetcode, Codeforces, and Codechef.
- I was an IICC Finalist and also a Code Gladiators Finalist.
3042. Count Prefix and Suffix Pairs I || Leetcode POTD || Trie
Hey 👋🏻, Welcome to My Channel
Question Link: leetcode.com/problems/count-prefix-and-suffix-pairs-i/description/
Brute Submission Link: leetcode.com/problems/count-prefix-and-suffix-pairs-i/submissions/1501849708/
Trie Submission Link: leetcode.com/problems/count-prefix-and-suffix-pairs-i/submissions/1501848552/
Companies: Uber, Autodesk, FICO
Join this channel for Job/Internship Opportunities, Interview Experiences, Coding/Tech Resources, DSA-DEV-AI 🔥
LinkedIn: www.linkedin.com/in/prateek7248/
TH-cam: www.youtube.com/@prateekgoel7248
Twitter: x.com/PrateekGoel2002
Instagram: pg_prateekgoel
WhatsApp: whatsapp.com/channel/0029VanpMeWB4hdKwbAwkh0r
Question Link: leetcode.com/problems/count-prefix-and-suffix-pairs-i/description/
Brute Submission Link: leetcode.com/problems/count-prefix-and-suffix-pairs-i/submissions/1501849708/
Trie Submission Link: leetcode.com/problems/count-prefix-and-suffix-pairs-i/submissions/1501848552/
Companies: Uber, Autodesk, FICO
Join this channel for Job/Internship Opportunities, Interview Experiences, Coding/Tech Resources, DSA-DEV-AI 🔥
LinkedIn: www.linkedin.com/in/prateek7248/
TH-cam: www.youtube.com/@prateekgoel7248
Twitter: x.com/PrateekGoel2002
Instagram: pg_prateekgoel
WhatsApp: whatsapp.com/channel/0029VanpMeWB4hdKwbAwkh0r
มุมมอง: 151
วีดีโอ
1408. String Matching in an Array || Leetcode POTD || KMP || TRIE || Python
มุมมอง 16221 วันที่ผ่านมา
Hey 👋🏻, Welcome to My Channel Question Link: leetcode.com/problems/string-matching-in-an-array/description/?envType=daily-question&envId=2025-01-07 Trie Submission Link: leetcode.com/problems/string-matching-in-an-array/submissions/1500739734/?envType=daily-question&envId=2025-01-07 KMP Submission Link: leetcode.com/problems/string-matching-in-an-array/submissions/1500724870/?envType=daily-ques...
1769. Minimum Number of Operations to Move All Balls to Each Box || Leetcode POTD || Prefix Sum
มุมมอง 7328 วันที่ผ่านมา
Hey 👋🏻, Welcome to My Channel Question Link: leetcode.com/problems/minimum-number-of-operations-to-move-all-balls-to-each-box/ Submission Link: leetcode.com/problems/minimum-number-of-operations-to-move-all-balls-to-each-box/submissions/1499639952/ Companies: Amazon, Google, TikTok Join this channel for Job/Internship Opportunities, Interview Experiences, Coding/Tech Resources, DSA-DEV-AI 🔥 Lin...
Leetcode Biweekly Contest 147 || Leetcode Contest || Python
มุมมอง 21528 วันที่ผ่านมา
Hey 👋🏻, Welcome to My Channel Contest Link: leetcode.com/contest/biweekly-contest-147/ Question1: leetcode.com/contest/biweekly-contest-147/problems/substring-matching-pattern/ Submission Link1: leetcode.com/submissions/detail/1498800687/ Question2: leetcode.com/contest/biweekly-contest-147/problems/design-task-manager/ Submission Link2: leetcode.com/submissions/detail/1498801743/ Question3: le...
3409. Longest Subsequence With Decreasing Adjacent Difference || Leetcode Contest || Python
มุมมอง 15428 วันที่ผ่านมา
Hey 👋🏻, Welcome to My Channel Question Link: leetcode.com/problems/longest-subsequence-with-decreasing-adjacent-difference/description/ Submission Link: leetcode.com/problems/longest-subsequence-with-decreasing-adjacent-difference/submissions/1498717389/ Join this channel for Job/Internship Opportunities, Interview Experiences, Coding/Tech Resources, DSA-DEV-AI 🔥 LinkedIn: www.linkedin.com/in/p...
3408. Design Task Manager || Leetcode Contest || Python
มุมมอง 2228 วันที่ผ่านมา
Hey 👋🏻, Welcome to My Channel Question Link: leetcode.com/contest/biweekly-contest-147/problems/design-task-manager/ Submission Link: leetcode.com/submissions/detail/1498772519/ Join this channel for Job/Internship Opportunities, Interview Experiences, Coding/Tech Resources, DSA-DEV-AI 🔥 LinkedIn: www.linkedin.com/in/prateek7248/ TH-cam: www.youtube.com/@prateekgoel7248 Twitter: x.com/PrateekGo...
3407. Substring Matching Pattern || Leetcode Contest || Python
มุมมอง 7928 วันที่ผ่านมา
Hey 👋🏻, Welcome to My Channel Question Link: leetcode.com/contest/biweekly-contest-147/problems/substring-matching-pattern/ Submission Link: leetcode.com/submissions/detail/1498769494/ Join this channel for Job/Internship Opportunities, Interview Experiences, Coding/Tech Resources, DSA-DEV-AI 🔥 LinkedIn: www.linkedin.com/in/prateek7248/ TH-cam: www.youtube.com/@prateekgoel7248 Twitter: x.com/Pr...
2381. Shifting Letters II || Leetcode POTD || Python
มุมมอง 3328 วันที่ผ่านมา
Hey 👋🏻, Welcome to My Channel Question Link: leetcode.com/problems/shifting-letters-ii/description/ Submission Link: leetcode.com/problems/shifting-letters-ii/submissions/1498304644/ Companies: Veritas Join this channel for Job/Internship Opportunities, Interview Experiences, Coding/Tech Resources, DSA-DEV-AI 🔥 LinkedIn: www.linkedin.com/in/prateek7248/ TH-cam: www.youtube.com/@prateekgoel7248 ...
1930. Unique Length-3 Palindromic Subsequences || Leetcode POTD || Python
มุมมอง 7228 วันที่ผ่านมา
Hey 👋🏻, Welcome to My Channel Question Link: leetcode.com/problems/unique-length-3-palindromic-subsequences/ Submission Link: leetcode.com/problems/unique-length-3-palindromic-subsequences/submissions/1497211247/ Companies: Amazon, Google, Adobe, Meta, Apple, Uber Join this channel for Job/Internship Opportunities, Interview Experiences, Coding/Tech Resources, DSA-DEV-AI 🔥 LinkedIn: www.linkedi...
2270. Number of Ways to Split Array || Leetcode || Python
มุมมอง 40หลายเดือนก่อน
Hey 👋🏻, Welcome to My Channel Question Link: leetcode.com/problems/number-of-ways-to-split-array/description/ Submission Link: leetcode.com/problems/number-of-ways-to-split-array/submissions/1496410048/ Companies: Google, Amazon Join this channel for Job/Internship Opportunities, Interview Experiences, Coding/Tech Resources, DSA-DEV-AI 🔥 LinkedIn: www.linkedin.com/in/prateek7248/ TH-cam: www.yo...
2559. Count Vowel Strings in Ranges || Leetcode POTD || Python
มุมมอง 79หลายเดือนก่อน
Hey 👋🏻, Welcome to My Channel Question Link: leetcode.com/problems/count-vowel-strings-in-ranges Submission Link: leetcode.com/problems/count-vowel-strings-in-ranges/submissions/1495307530 Join this channel for Job/Internship Opportunities, Interview Experiences, Coding/Tech Resources, DSA-DEV-AI 🔥 LinkedIn: www.linkedin.com/in/prateek7248/ TH-cam: www.youtube.com/@prateekgoel7248 Twitter: x.co...
1422. Maximum Score After Splitting a String || Leetcode POTD || Python
มุมมอง 65หลายเดือนก่อน
Hey 👋🏻, Welcome to My Channel Question Link: leetcode.com/problems/maximum-score-after-splitting-a-string/description/ Submission Link: leetcode.com/problems/maximum-score-after-splitting-a-string/submissions/1494080332/ Join this channel for Job/Internship Opportunities, Interview Experiences, Coding/Tech Resources, DSA-DEV-AI 🔥 LinkedIn: www.linkedin.com/in/prateek7248/ TH-cam: www.youtube.co...
Longest Consecutive Subsequence || GFG POTD || Python
มุมมอง 82หลายเดือนก่อน
Hey 👋🏻, Welcome to My Channel Question Link: www.geeksforgeeks.org/problems/longest-consecutive-subsequence2449/1 Join this channel for Job/Internship Opportunities, Interview Experiences, Coding/Tech Resources, DSA-DEV-AI 🔥 LinkedIn: www.linkedin.com/in/prateek7248/ TH-cam: www.youtube.com/@prateekgoel7248 Twitter: x.com/PrateekGoel2002 Instagram: pg_prateekgoel WhatsApp: whatsa...
983. Minimum Cost For Tickets || Leetcode POTD || Python
มุมมอง 59หลายเดือนก่อน
Hey 👋🏻, Welcome to My Channel Question Link: leetcode.com/problems/minimum-cost-for-tickets/description/ Submission Link: leetcode.com/problems/minimum-cost-for-tickets/submissions/1493287149/ Join this channel for Job/Internship Opportunities, Interview Experiences, Coding/Tech Resources, DSA-DEV-AI 🔥 LinkedIn: www.linkedin.com/in/prateek7248/ TH-cam: www.youtube.com/@prateekgoel7248 Twitter: ...
2466. Count Ways To Build Good Strings || Leetcode POTD || Python
มุมมอง 121หลายเดือนก่อน
Hey 👋🏻, Welcome to My Channel Question Link: leetcode.com/problems/count-ways-to-build-good-strings/ Submission Link: leetcode.com/problems/count-ways-to-build-good-strings/submissions/1492378535/ Join this channel for Job/Internship Opportunities, Interview Experiences, Coding/Tech Resources, DSA-DEV-AI 🔥 LinkedIn: www.linkedin.com/in/prateek7248/ TH-cam: www.youtube.com/@prateekgoel7248 Twitt...
1639. Number of Ways to Form a Target String Given a Dictionary || Leetcode POTD || Python
มุมมอง 64หลายเดือนก่อน
1639. Number of Ways to Form a Target String Given a Dictionary || Leetcode POTD || Python
Leetcode Weekly Contest 430 || Leetcode Contest || Python
มุมมอง 486หลายเดือนก่อน
Leetcode Weekly Contest 430 || Leetcode Contest || Python
Find All Triplets with Zero Sum || GFG POTD || Python
มุมมอง 46หลายเดือนก่อน
Find All Triplets with Zero Sum || GFG POTD || Python
689. Maximum Sum of 3 Non-Overlapping Subarrays || Leetcode POTD || Python
มุมมอง 85หลายเดือนก่อน
689. Maximum Sum of 3 Non-Overlapping Subarrays || Leetcode POTD || Python
1014. Best Sightseeing Pair || Leetcode POTD
มุมมอง 42หลายเดือนก่อน
1014. Best Sightseeing Pair || Leetcode POTD
Two Sum - Pair with Given Sum || GFG POTD
มุมมอง 56หลายเดือนก่อน
Two Sum - Pair with Given Sum || GFG POTD
515. Find Largest Value in Each Tree Row || Leetcode POTD
มุมมอง 64หลายเดือนก่อน
515. Find Largest Value in Each Tree Row || Leetcode POTD
3203. Find Minimum Diameter After Merging Two Trees || Leetcode POTD
มุมมอง 334หลายเดือนก่อน
3203. Find Minimum Diameter After Merging Two Trees || Leetcode POTD
2471. Minimum Number of Operations to Sort a Binary Tree by Level || Leetcode POTD
มุมมอง 164หลายเดือนก่อน
2471. Minimum Number of Operations to Sort a Binary Tree by Level || Leetcode POTD
Search in a row-wise sorted matrix || GFG POTD
มุมมอง 81หลายเดือนก่อน
Search in a row-wise sorted matrix || GFG POTD
Search in a Row-Column sorted matrix || GFG POTD
มุมมอง 47หลายเดือนก่อน
Search in a Row-Column sorted matrix || GFG POTD
Leetcode Weekly Contest 429 || Leetcode
มุมมอง 294หลายเดือนก่อน
Leetcode Weekly Contest 429 || Leetcode
how do i run the code
Less questions more patterns dsa sheet suggestion please
Bhaiya lc contest main sare problem Solve karne k liye ig cf pe aacha hona hoga ?
Are u into codeforces or codechef,would be happy to learn solutions
Some times you need to take a while to slow down and explain things calmly. Hope this helps
Sure, thanks for the suggestions
❤❤
❤
Weekly contest ,when will u cover.
Will try to cover today
Thank-you so much
welcome
How to think approaches like this. I did it with pick and not pick approach and got tle at end
It takes some time and you need to solve some similar questions first, then only you can think of similar approaches
Heyy prateek . Your solution looks clean! 👍🏽
Hi bro, I following you in linkedin also, I have doubt, how many leetcode problems is enough to crack Goldman Sachs.
Bro it doesnt depends on problem counts, it depends how many topics you know well enough
@@prateekgoel7248 can you recommend dsa sheets for college students to cover all topics
Striver sde sheet or a to z sheet. I am also planning to make a good sheet according for the current market
Hey bro, java or cpp in 2025
Dsa is not about language but i would say for dsa, python is good but for cp, cpp is good…
Can you share your leetcode @?
Sure, prateekgoel7248
using gpt to generate thumbnails??
Yup
good explanation for q3, thankss
Brother can u explain using notepad or some other way from next contest. I know its too much to ask❤
Sure bro, i will try to do that from next contest.
Thanks Prateek Bhaiya, understood your solutions in first go!!!
Why did you fix q = r - 2, what if I wanted something like p = 3, q = 7 and r = n - 6 , s = n - 3. Can you explain your intuition behind it?
It is just for providing a value to q, after some iteration it will hit p=3 and q=7 as well.
@@prateekgoel7248 My question is that when you fix q = r - 2, we will get different combinations of q and p which is fine. But What if there exists a combination like p = 3, q = 7, r = n - 6, s = n - 3. I might get p=3, q=7 after some iterations but it wont be with the required combinations of r and s .right? Do I make sense?
r and s, will be already computer till that time. So when we reach the p=3 and q=7, it will add the answer. If you have any other doubts, please join our discussion group and we can discuss the solution: chat.whatsapp.com/CBhszObdhii7T6hDbgbXgp
@@prateekgoel7248 Ohkkkk, I understood, I was thinking differently. Thank you!
Thanks bhaiya
what's about those people who doesn't know about DP or implementation of DP.......?
Do you want me to create a video about what is dp and how dp works ?
@prateekgoel7248 Yes, It will be helpful and someone who doesn't know about that the algorithm or DSA topics then how someone is understood the solutions whatever you teach in the playlist of Leetcode POTD or anything....?
Agreed, will create…
Nice🎉🎉
Nice 🎉🎉
You are so fast to think its solution can you guide how i increase my speed in problem solving 😊 You are so awesome and enjoy your content and you are my inspiration.
Just be consistent with your practice…
Bhaiya, First of all thanks for making this video. I have some view, and its my view. I don't know about others. • Try to make video in hindi ( Most of us are hindi audience) Yes we understand English but Hindi language feeling is another level. • Make videos topic wise easy to advance. • Make code simple by giving story example or other very easy example. • Take the video paralley One for CP and other for DSA. ( Both audiences will be covered). • Discuss about the technique how to think( How to solve 20 question with 5 parent question) • Use high-quality mic and visual also. Those are my views as a Subscriber. as I have came from your linkedin post.🙂 Baaki sb aacha hai no problem... Aur beech beech me guidance video laate rahe like how to practice, notes making, approach, interview preparation, Types of question. Thank you
Sure bro
Prateek bhaiya can you please share the resources from where you learned DSA and CP
Sure let me create a separate video on that.
Hi Prateek, I’ve known you for a long time through LinkedIn. It’s great to see you explaining these weekly contest questions! I’ve been searching for someone who shares explanation videos for these contests, and your content is just what I was looking for. Please keep this contest explanation series going-it’s incredibly helpful!
Sure, thanks
Waah Voice mai base kaha se Aaya hai
Aisi hi hai meri voice, ab ye theek nhi ho skti 🥲🫣
bhai aapke to awaaz bahut alag hai, photo main dekhkar laga ni tha aise hoge aapke voice
In a bad way or in a good way 🫣😅
Bro ...hw u learn 😅...ur juz awesome bro...and by the nice base voice ❤
It is just about practice bro, nothing else
Hi, For Q2 , is there any different approach for this ? Since python have lru_cache functionality ,its possible but for java its not.
Yes you can create a dp array or use a map to cache data
Subscribed ❤❤
I also solved it using similar kind of approach 😁
Nice idea 💡
Bhaiya U are a Gem 🧡🧡, 3rd me thoda miss kar dia 🥲
Created separate video for 3rd problem: th-cam.com/video/vuvMw12h_6s/w-d-xo.html
Thanks for making separate video for 3'rd Q's, thank you 🙏🧡.
Nice way to explanation bhaiya ❤️
Great bhaiya
Nice bro🎉🎉
this interview is for how much package? how much they offered you after these interview
Range was 18-22 LPA
you can avoid that aaaaa , hmmm sounds while speaking
Will improve.
Bro that works like motivation for me 😂😂😂
3:00 In your LinkedIn post you mentioned you were asked HLD question. This was the question from HLD?
Bro plz add solutions in either in Java or c++ as well.
Bro just focus on the logic, language is just a tool, you can easily convert python code to any other language using AI
bro java ke question itne kiu jab sde 1 ke hire ho rahe ho to
There tech stack is java, so maybe because of that
hlo bhai hamne agar c++ se kari hai sari chiz to bhi vo hamse java ke concept question puchega ya nahi
Where did you learnt LLD and HLD
Shreyansh Jain
Is system design now mainly important part of interviews rounds?
Yes it is
any tips how to master recursion i face difficulty thinking recursive way
You can look into the striver recursion playlist.
Great start! Keep the work up🎉
Thank you!! 😁
Scala I also works on that Functional Programming [Case classes]😏