Prateek Goel
Prateek Goel
  • 57
  • 29 735
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
มุมมอง: 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
Count pairs with given sum || GFG POTD
มุมมอง 83หลายเดือนก่อน
Count pairs with given sum || GFG POTD
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
494. Target Sum || Leetcode POTD
มุมมอง 54หลายเดือนก่อน
494. Target Sum || Leetcode POTD
Set Matrix Zeroes || GFG POTD
มุมมอง 54หลายเดือนก่อน
Set Matrix Zeroes || 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

ความคิดเห็น

  • @Wyaaama
    @Wyaaama 11 วันที่ผ่านมา

    how do i run the code

  • @gpraneeth7693
    @gpraneeth7693 12 วันที่ผ่านมา

    Less questions more patterns dsa sheet suggestion please

  • @Greekcre1
    @Greekcre1 20 วันที่ผ่านมา

    Bhaiya lc contest main sare problem Solve karne k liye ig cf pe aacha hona hoga ?

  • @Maximus-oox
    @Maximus-oox 25 วันที่ผ่านมา

    Are u into codeforces or codechef,would be happy to learn solutions

  • @unsaturated8482
    @unsaturated8482 28 วันที่ผ่านมา

    Some times you need to take a while to slow down and explain things calmly. Hope this helps

    • @prateekgoel7248
      @prateekgoel7248 28 วันที่ผ่านมา

      Sure, thanks for the suggestions

  • @RED-wj2jb
    @RED-wj2jb 28 วันที่ผ่านมา

    ❤❤

  • @Maximus-oox
    @Maximus-oox 28 วันที่ผ่านมา

  • @Maximus-oox
    @Maximus-oox 29 วันที่ผ่านมา

    Weekly contest ,when will u cover.

    • @prateekgoel7248
      @prateekgoel7248 29 วันที่ผ่านมา

      Will try to cover today

  • @Kunal-g4q
    @Kunal-g4q 29 วันที่ผ่านมา

    Thank-you so much

  • @Maximus-oox
    @Maximus-oox หลายเดือนก่อน

    How to think approaches like this. I did it with pick and not pick approach and got tle at end

    • @prateekgoel7248
      @prateekgoel7248 หลายเดือนก่อน

      It takes some time and you need to solve some similar questions first, then only you can think of similar approaches

  • @deadloop-kh9yn
    @deadloop-kh9yn หลายเดือนก่อน

    Heyy prateek . Your solution looks clean! 👍🏽

  • @SAjithkumar-A
    @SAjithkumar-A หลายเดือนก่อน

    Hi bro, I following you in linkedin also, I have doubt, how many leetcode problems is enough to crack Goldman Sachs.

    • @prateekgoel7248
      @prateekgoel7248 หลายเดือนก่อน

      Bro it doesnt depends on problem counts, it depends how many topics you know well enough

    • @SAjithkumar-A
      @SAjithkumar-A หลายเดือนก่อน

      @@prateekgoel7248 can you recommend dsa sheets for college students to cover all topics

    • @prateekgoel7248
      @prateekgoel7248 หลายเดือนก่อน

      Striver sde sheet or a to z sheet. I am also planning to make a good sheet according for the current market

  • @Maximus-oox
    @Maximus-oox หลายเดือนก่อน

    Hey bro, java or cpp in 2025

    • @prateekgoel7248
      @prateekgoel7248 หลายเดือนก่อน

      Dsa is not about language but i would say for dsa, python is good but for cp, cpp is good…

  • @DharmikPathak-w7d
    @DharmikPathak-w7d หลายเดือนก่อน

    Can you share your leetcode @?

  • @kumkumslab5811
    @kumkumslab5811 หลายเดือนก่อน

    using gpt to generate thumbnails??

  • @rohandsouza9147
    @rohandsouza9147 หลายเดือนก่อน

    good explanation for q3, thankss

  • @Maximus-oox
    @Maximus-oox หลายเดือนก่อน

    Brother can u explain using notepad or some other way from next contest. I know its too much to ask❤

    • @prateekgoel7248
      @prateekgoel7248 หลายเดือนก่อน

      Sure bro, i will try to do that from next contest.

  • @prathamchelaramani2730
    @prathamchelaramani2730 หลายเดือนก่อน

    Thanks Prateek Bhaiya, understood your solutions in first go!!!

  • @tarun-d5e
    @tarun-d5e หลายเดือนก่อน

    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?

    • @prateekgoel7248
      @prateekgoel7248 หลายเดือนก่อน

      It is just for providing a value to q, after some iteration it will hit p=3 and q=7 as well.

    • @tarun-d5e
      @tarun-d5e หลายเดือนก่อน

      @@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?

    • @prateekgoel7248
      @prateekgoel7248 หลายเดือนก่อน

      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

    • @tarun-d5e
      @tarun-d5e หลายเดือนก่อน

      @@prateekgoel7248 Ohkkkk, I understood, I was thinking differently. Thank you!

  • @ankitatiwary4663
    @ankitatiwary4663 หลายเดือนก่อน

    Thanks bhaiya

  • @AdityaRaj-pu7rs
    @AdityaRaj-pu7rs หลายเดือนก่อน

    what's about those people who doesn't know about DP or implementation of DP.......?

    • @prateekgoel7248
      @prateekgoel7248 หลายเดือนก่อน

      Do you want me to create a video about what is dp and how dp works ?

    • @AdityaRaj-pu7rs
      @AdityaRaj-pu7rs หลายเดือนก่อน

      @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....?

    • @prateekgoel7248
      @prateekgoel7248 หลายเดือนก่อน

      Agreed, will create…

  • @superstar2025-i6p
    @superstar2025-i6p หลายเดือนก่อน

    Nice🎉🎉

  • @superstar2025-i6p
    @superstar2025-i6p หลายเดือนก่อน

    Nice 🎉🎉

  • @ProfitMind-u2w
    @ProfitMind-u2w หลายเดือนก่อน

    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.

    • @prateekgoel7248
      @prateekgoel7248 หลายเดือนก่อน

      Just be consistent with your practice…

  • @DeepakKumar-e2s5q
    @DeepakKumar-e2s5q หลายเดือนก่อน

    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

  • @RED-wj2jb
    @RED-wj2jb หลายเดือนก่อน

    Prateek bhaiya can you please share the resources from where you learned DSA and CP

    • @prateekgoel7248
      @prateekgoel7248 หลายเดือนก่อน

      Sure let me create a separate video on that.

  • @channakyanarra2180
    @channakyanarra2180 หลายเดือนก่อน

    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!

  • @ojasviverma6201
    @ojasviverma6201 หลายเดือนก่อน

    Waah Voice mai base kaha se Aaya hai

    • @prateekgoel7248
      @prateekgoel7248 หลายเดือนก่อน

      Aisi hi hai meri voice, ab ye theek nhi ho skti 🥲🫣

  • @vyomgoyal3125
    @vyomgoyal3125 หลายเดือนก่อน

    bhai aapke to awaaz bahut alag hai, photo main dekhkar laga ni tha aise hoge aapke voice

    • @prateekgoel7248
      @prateekgoel7248 หลายเดือนก่อน

      In a bad way or in a good way 🫣😅

  • @ishashikn
    @ishashikn หลายเดือนก่อน

    Bro ...hw u learn 😅...ur juz awesome bro...and by the nice base voice ❤

    • @prateekgoel7248
      @prateekgoel7248 หลายเดือนก่อน

      It is just about practice bro, nothing else

  • @5p7Ro0t
    @5p7Ro0t หลายเดือนก่อน

    Hi, For Q2 , is there any different approach for this ? Since python have lru_cache functionality ,its possible but for java its not.

    • @prateekgoel7248
      @prateekgoel7248 หลายเดือนก่อน

      Yes you can create a dp array or use a map to cache data

  • @newglobal2056
    @newglobal2056 หลายเดือนก่อน

    Subscribed ❤❤

  • @AgamGupta-v4j
    @AgamGupta-v4j หลายเดือนก่อน

    I also solved it using similar kind of approach 😁

  • @youtube_tag
    @youtube_tag หลายเดือนก่อน

    Nice idea 💡

  • @newglobal7271
    @newglobal7271 หลายเดือนก่อน

    Bhaiya U are a Gem 🧡🧡, 3rd me thoda miss kar dia 🥲

    • @prateekgoel7248
      @prateekgoel7248 หลายเดือนก่อน

      Created separate video for 3rd problem: th-cam.com/video/vuvMw12h_6s/w-d-xo.html

    • @newglobal7271
      @newglobal7271 หลายเดือนก่อน

      Thanks for making separate video for 3'rd Q's, thank you 🙏🧡.

  • @bloodmotivation6360
    @bloodmotivation6360 หลายเดือนก่อน

    Nice way to explanation bhaiya ❤️

  • @AjaySharma-gg8dv
    @AjaySharma-gg8dv หลายเดือนก่อน

    Great bhaiya

  • @Tech_Mystery0461
    @Tech_Mystery0461 หลายเดือนก่อน

    Nice bro🎉🎉

  • @gauravcode00
    @gauravcode00 หลายเดือนก่อน

    this interview is for how much package? how much they offered you after these interview

  • @gauravcode00
    @gauravcode00 หลายเดือนก่อน

    you can avoid that aaaaa , hmmm sounds while speaking

    • @prateekgoel7248
      @prateekgoel7248 หลายเดือนก่อน

      Will improve.

    • @Ayush37262
      @Ayush37262 หลายเดือนก่อน

      Bro that works like motivation for me 😂😂😂

  • @bimandas6792
    @bimandas6792 หลายเดือนก่อน

    3:00 In your LinkedIn post you mentioned you were asked HLD question. This was the question from HLD?

  • @sachinjha1521
    @sachinjha1521 หลายเดือนก่อน

    Bro plz add solutions in either in Java or c++ as well.

    • @prateekgoel7248
      @prateekgoel7248 หลายเดือนก่อน

      Bro just focus on the logic, language is just a tool, you can easily convert python code to any other language using AI

  • @nobita-world001
    @nobita-world001 หลายเดือนก่อน

    bro java ke question itne kiu jab sde 1 ke hire ho rahe ho to

    • @prateekgoel7248
      @prateekgoel7248 หลายเดือนก่อน

      There tech stack is java, so maybe because of that

  • @nobita-world001
    @nobita-world001 หลายเดือนก่อน

    hlo bhai hamne agar c++ se kari hai sari chiz to bhi vo hamse java ke concept question puchega ya nahi

  • @govardhansai8838
    @govardhansai8838 หลายเดือนก่อน

    Where did you learnt LLD and HLD

  • @abhishekraj.4933
    @abhishekraj.4933 หลายเดือนก่อน

    Is system design now mainly important part of interviews rounds?

  • @godFather-123-b8g
    @godFather-123-b8g หลายเดือนก่อน

    any tips how to master recursion i face difficulty thinking recursive way

    • @prateekgoel7248
      @prateekgoel7248 หลายเดือนก่อน

      You can look into the striver recursion playlist.

  • @agamgupta3316
    @agamgupta3316 หลายเดือนก่อน

    Great start! Keep the work up🎉

  • @ShubhangDutta
    @ShubhangDutta หลายเดือนก่อน

    Scala I also works on that Functional Programming [Case classes]😏