LeetCodeWithMonu
LeetCodeWithMonu
  • Видео 227
  • Просмотров 121 286
3043. Find the Length of the Longest Common Prefix | Leetcode Daily Challenge| Trie | HashSet |
Join my Discord channel discord.gg/BNtP63BdJA
Array Playlist ruclips.net/p/PL3eqOYN9nzwX8u1uUDpl4Zo8g87Y2Q-YO
Recursion Playlist ruclips.net/p/PL3eqOYN9nzwWc74-TTIpfzy2UoBkKhyca
LeetCode Daily Challenge Playlist ruclips.net/p/PL3eqOYN9nzwWxadgg-tk0WYf9RjBJCaDB
LeetCode Blind 75 playlist ruclips.net/p/PL3eqOYN9nzwVgF082t-3yIkdxOWtBFL7f
3043. Find the Length of the Longest Common Prefix solution explained in detail. using Trie concept
#javascript #leetcoaching #leetcode #leetcodecoding #leetcodedailychallenge #leetcodeproblems #leetcodesolution #coding
00:00 Intro
01:20 Brute Force
04:15 Trie Intuition
07:15 Time Complexity
08:30 Coding
Просмотров: 71

Видео

1496. Path Crossing - JavaScript - LeetCode
Просмотров 2169 месяцев назад
Join my Discord channel discord.gg/BNtP63BdJA Array Playlist ruclips.net/p/PL3eqOYN9nzwX8u1uUDpl4Zo8g87Y2Q-YO Recursion Playlist ruclips.net/p/PL3eqOYN9nzwWc74-TTIpfzy2UoBkKhyca LeetCode Daily Challenge Playlist ruclips.net/p/PL3eqOYN9nzwWxadgg-tk0WYf9RjBJCaDB LeetCode Blind 75 playlist ruclips.net/p/PL3eqOYN9nzwVgF082t-3yIkdxOWtBFL7f 1496. Path Crossing Hope this was helpful. #leetcode #javasc...
1422. Maximum Score After Splitting a String - JavaScript - LeetCode
Просмотров 1279 месяцев назад
Join my Discord channel discord.gg/BNtP63BdJA Array Playlist ruclips.net/p/PL3eqOYN9nzwX8u1uUDpl4Zo8g87Y2Q-YO Recursion Playlist ruclips.net/p/PL3eqOYN9nzwWc74-TTIpfzy2UoBkKhyca LeetCode Daily Challenge Playlist ruclips.net/p/PL3eqOYN9nzwWxadgg-tk0WYf9RjBJCaDB LeetCode Blind 75 playlist ruclips.net/p/PL3eqOYN9nzwVgF082t-3yIkdxOWtBFL7f Hope this was helpful. #leetcode #javascript #coding #leetco...
1637. Widest Vertical Area Between Two Points Containing No Points - JavaScript - LeetCode
Просмотров 1739 месяцев назад
Join my Discord channel discord.gg/BNtP63BdJA Array Playlist ruclips.net/p/PL3eqOYN9nzwX8u1uUDpl4Zo8g87Y2Q-YO Recursion Playlist ruclips.net/p/PL3eqOYN9nzwWc74-TTIpfzy2UoBkKhyca LeetCode Daily Challenge Playlist ruclips.net/p/PL3eqOYN9nzwWxadgg-tk0WYf9RjBJCaDB LeetCode Blind 75 playlist ruclips.net/p/PL3eqOYN9nzwVgF082t-3yIkdxOWtBFL7f Hope this was helpful. #leetcode #javascript #coding #leetco...
2706. Buy Two Chocolates - JavaScript - Leetode
Просмотров 1029 месяцев назад
Join my Discord channel discord.gg/BNtP63BdJA Array Playlist ruclips.net/p/PL3eqOYN9nzwX8u1uUDpl4Zo8g87Y2Q-YO Recursion Playlist ruclips.net/p/PL3eqOYN9nzwWc74-TTIpfzy2UoBkKhyca LeetCode Daily Challenge Playlist ruclips.net/p/PL3eqOYN9nzwWxadgg-tk0WYf9RjBJCaDB LeetCode Blind 75 playlist ruclips.net/p/PL3eqOYN9nzwVgF082t-3yIkdxOWtBFL7f Hope this was helpful. #leetcode #javascript #coding #leetco...
238. Product of Array Except Self - JavaScript - LeetCode
Просмотров 6519 месяцев назад
Join my Discord channel discord.gg/BNtP63BdJA Recursion Playlist ruclips.net/p/PL3eqOYN9nzwWc74-TTIpfzy2UoBkKhyca LeetCode Daily Challenge Playlist ruclips.net/p/PL3eqOYN9nzwWxadgg-tk0WYf9RjBJCaDB LeetCode Blind 75 playlist ruclips.net/p/PL3eqOYN9nzwVgF082t-3yIkdxOWtBFL7f Hope this was helpful. #leetcode #javascript #coding #leetcoaching #leetcodedailychallenge #datastructures #timecomplexity #...
151. Reverse Words in a String - LeetCode - JavaScript
Просмотров 5419 месяцев назад
Join my Discord channel discord.gg/BNtP63BdJA Recursion Playlist ruclips.net/p/PL3eqOYN9nzwWc74-TTIpfzy2UoBkKhyca LeetCode Daily Challenge Playlist ruclips.net/p/PL3eqOYN9nzwWxadgg-tk0WYf9RjBJCaDB LeetCode Blind 75 playlist ruclips.net/p/PL3eqOYN9nzwVgF082t-3yIkdxOWtBFL7f I have explained the thought process to find the optimized solution to LeetCode daily challenge 151. Reverse Words in a Stri...
14. Longest Common Prefix - LeetCode - JavaScript
Просмотров 6849 месяцев назад
Join my Discord channel discord.gg/BNtP63BdJA Two Pointers Playlist ruclips.net/p/PL3eqOYN9nzwUHymSORIsHHMpT0Q6trEfY LinkedList Playlist ruclips.net/p/PL3eqOYN9nzwW2tv_Xd6miJQ8FHUf8CUmT LeetCode Daily Challenge Playlist ruclips.net/p/PL3eqOYN9nzwWxadgg-tk0WYf9RjBJCaDB LeetCode Blind 75 playlist ruclips.net/p/PL3eqOYN9nzwVgF082t-3yIkdxOWtBFL7f Hope this was helpful. #leetcode #javascript #coding...
1436. Destination City - LeetCode Daily Challenge
Просмотров 699 месяцев назад
Join my Discord channel discord.gg/BNtP63BdJA Recursion Playlist ruclips.net/p/PL3eqOYN9nzwWc74-TTIpfzy2UoBkKhyca LeetCode Daily Challenge Playlist ruclips.net/p/PL3eqOYN9nzwWxadgg-tk0WYf9RjBJCaDB LeetCode Blind 75 playlist ruclips.net/p/PL3eqOYN9nzwVgF082t-3yIkdxOWtBFL7f Hope this was helpful. #leetcode #javascript #coding #leetcoaching #leetcodedailychallenge #datastructures #timecomplexity #...
509. Fibonacci Number - Beginner Friendly - Detailed Explanation
Просмотров 579 месяцев назад
Join my Discord channel discord.gg/BNtP63BdJA 00:00 Problem Description 01:25 Intuition 02:50 Recursion Approach 06:34 Dynamic Programming Approach 09:38 Optimized Solution Recursion Playlist ruclips.net/p/PL3eqOYN9nzwWc74-TTIpfzy2UoBkKhyca LeetCode Daily Challenge Playlist ruclips.net/p/PL3eqOYN9nzwWxadgg-tk0WYf9RjBJCaDB LeetCode Blind 75 playlist ruclips.net/p/PL3eqOYN9nzwVgF082t-3yIkdxOWtBFL...
2482. Difference Between Ones and Zeros in Row and Column - LeetCode Daily Challenge - Matrix
Просмотров 1689 месяцев назад
Join my Discord channel discord.gg/BNtP63BdJA Two Pointers Playlist ruclips.net/p/PL3eqOYN9nzwUHymSORIsHHMpT0Q6trEfY LinkedList Playlist ruclips.net/p/PL3eqOYN9nzwW2tv_Xd6miJQ8FHUf8CUmT LeetCode Daily Challenge Playlist ruclips.net/p/PL3eqOYN9nzwWxadgg-tk0WYf9RjBJCaDB LeetCode Blind 75 playlist ruclips.net/p/PL3eqOYN9nzwVgF082t-3yIkdxOWtBFL7f Hope this was helpful. #leetcode #javascript #coding...
896. Monotonic Array - JavaScript
Просмотров 152Год назад
Join my Discord channel discord.gg/BNtP63BdJA Two Pointers Playlist ruclips.net/p/PL3eqOYN9nzwUHymSORIsHHMpT0Q6trEfY LinkedList Playlist ruclips.net/p/PL3eqOYN9nzwW2tv_Xd6miJQ8FHUf8CUmT LeetCode Daily Challenge Playlist ruclips.net/p/PL3eqOYN9nzwWxadgg-tk0WYf9RjBJCaDB LeetCode Blind 75 playlist ruclips.net/p/PL3eqOYN9nzwVgF082t-3yIkdxOWtBFL7f Hope this was helpful. #leetcode #javascript #coding...
905. Sort Array By Parity - Two Pointer - JavaScript
Просмотров 143Год назад
Join my Discord channel discord.gg/BNtP63BdJA Two Pointers Playlist ruclips.net/p/PL3eqOYN9nzwUHymSORIsHHMpT0Q6trEfY LinkedList Playlist ruclips.net/p/PL3eqOYN9nzwW2tv_Xd6miJQ8FHUf8CUmT LeetCode Daily Challenge Playlist ruclips.net/p/PL3eqOYN9nzwWxadgg-tk0WYf9RjBJCaDB LeetCode Blind 75 playlist ruclips.net/p/PL3eqOYN9nzwVgF082t-3yIkdxOWtBFL7f Hope this was helpful. #leetcode #javascript #coding...
I interviewed at Google - Experience - Questions
Просмотров 385Год назад
Watch this video to learn how I got interviewed at Google, what questions were asked, how I solved it, and the result. Join my discord channel to learn more about the actual interview questions. discord.gg/BNtP63BdJA #google #googleinterview #gogleinterviewquestions #googleinterviewpreparation #interview #softwareengineer
316. Remove Duplicate Letters - Monotonic Stack - JavaScript
Просмотров 417Год назад
Beginner-friendly solution for Leetcode daily challenge problem. My Discord channel discord.gg/BNtP63BdJA Monotonic Stack ruclips.net/p/PL3eqOYN9nzwXiVu-ns6nU0pz5PXlF_dzL Hash Map Playlist ruclips.net/p/PL3eqOYN9nzwU224PtEKyp3o8cuUtanba- LeetCode Daily Challenge Playlist ruclips.net/p/PL3eqOYN9nzwWxadgg-tk0WYf9RjBJCaDB LeetCode Blind 75 playlist ruclips.net/p/PL3eqOYN9nzwVgF082t-3yIkdxOWtBFL7f
389. Find the Difference - Hash Map - JavaScript
Просмотров 132Год назад
389. Find the Difference - Hash Map - JavaScript
799. Champagne Tower - LeetCode Daily Challenge - JavaScript
Просмотров 109Год назад
799. Champagne Tower - LeetCode Daily Challenge - JavaScript
1658. Minimum Operations to Reduce X to Zero - Two Pointers - JavaScript
Просмотров 64Год назад
1658. Minimum Operations to Reduce X to Zero - Two Pointers - JavaScript
287. Find the Duplicate Number - Fast & Slow Pointer - JavaScript
Просмотров 522Год назад
287. Find the Duplicate Number - Fast & Slow Pointer - JavaScript
2483. Minimum Penalty for a Shop - Prefix Sum - JavaScript
Просмотров 134Год назад
2483. Minimum Penalty for a Shop - Prefix Sum - JavaScript
232. Implement Queue using Stacks - LeetCode Blind 75 - JavaScript
Просмотров 365Год назад
232. Implement Queue using Stacks - LeetCode Blind 75 - JavaScript
459. Repeated Substring Pattern - LeetCode Daily Challenge - JavaScript
Просмотров 439Год назад
459. Repeated Substring Pattern - LeetCode Daily Challenge - JavaScript
How to find job in USA?
Просмотров 233Год назад
How to find job in USA?
973. K Closest Points to Origin - Heap - LeetCode - JavaScript
Просмотров 581Год назад
973. K Closest Points to Origin - Heap - LeetCode - JavaScript
542. 01 Matrix - BFS - LeetCode - JavaScript
Просмотров 390Год назад
542. 01 Matrix - BFS - LeetCode - JavaScript
86. Partition List - LeetCode Daily Challenge - LinkedList
Просмотров 64Год назад
86. Partition List - LeetCode Daily Challenge - LinkedList
518. Coin Change II - LeetCode - DP - Memoization - Tabulation - JavaScript
Просмотров 244Год назад
518. Coin Change II - LeetCode - DP - Memoization - Tabulation - JavaScript
215. Kth Largest Element in an Array - MinHeap - LeetCode Daily Challenge - JavaScript
Просмотров 1,9 тыс.Год назад
215. Kth Largest Element in an Array - MinHeap - LeetCode Daily Challenge - JavaScript
2369. Check if There is a Valid Partition For The Array - DP - JavaScript
Просмотров 51Год назад
2369. Check if There is a Valid Partition For The Array - DP - JavaScript
63. Unique Paths II - DP - LeetCode Daily Challenge - JavaScript
Просмотров 65Год назад
63. Unique Paths II - DP - LeetCode Daily Challenge - JavaScript

Комментарии

  • @astha4978
    @astha4978 4 дня назад

    Explanation is top notch make more problem explanation in javaScript ✨

  • @rahulraut7371
    @rahulraut7371 7 дней назад

    Was searching for this solution and i am glad i found it. Thank you so much!! Explained very well.

  • @HamzaKhan-yz1ff
    @HamzaKhan-yz1ff 8 дней назад

    Wrong solution

  • @hanibal43
    @hanibal43 14 дней назад

    it seemed a little convoluted to have i be delcared atop for the block sope why not just have it in if block for when you want to redfine the prefix

  • @tiger7858
    @tiger7858 15 дней назад

    😂You finally remembered your RUclips password

  • @rutikkhandekar2518
    @rutikkhandekar2518 17 дней назад

    Great Explaination.... Keep it up. we need you 🙌🙌

  • @IshaZaka
    @IshaZaka 23 дня назад

    Thankyou for making in javascript , learning alot from your tutorials

    • @LeetCodeWithMonu
      @LeetCodeWithMonu 16 дней назад

      Thanks a lot. Follow for new tutorials. 😇

  • @bvfromruvitaliy
    @bvfromruvitaliy 25 дней назад

    You did a great job of explaining this! Thank you!

    • @LeetCodeWithMonu
      @LeetCodeWithMonu 16 дней назад

      Thanks a lot. Please follow for more such contents. 😇

  • @noorb374
    @noorb374 28 дней назад

    why adding plus 1 in it?

  • @noorb374
    @noorb374 28 дней назад

    great work , thankyou its so helpful please make more atleast blind 75

    • @LeetCodeWithMonu
      @LeetCodeWithMonu 16 дней назад

      I have added more videos to the Blind 75 Leetcode linked below. ruclips.net/p/PL3eqOYN9nzwVgF082t-3yIkdxOWtBFL7f

  • @IshaZaka
    @IshaZaka 29 дней назад

    i am little confuse here, its not only two lists as mention in the problem that it is k number of lists, which means more than 2 as well, so how we are doing it with just comparing two lists

  • @IshaZaka
    @IshaZaka Месяц назад

    great job sis

    • @LeetCodeWithMonu
      @LeetCodeWithMonu 16 дней назад

      Thanks a lot. Please follow for more such contents. 😇

  • @mahmoudaidia3625
    @mahmoudaidia3625 Месяц назад

    Hey, it's a great channel for DSA. I have sent you a connection request on linkedIn. I hope you accept it.

  • @varunrawat5654
    @varunrawat5654 Месяц назад

    Your solution was easy and understandable. I Appreciate that. Thanks

    • @LeetCodeWithMonu
      @LeetCodeWithMonu 16 дней назад

      Thanks a lot. Please follow for more such contents. 😇

  • @Sachinganeshkar-m5h
    @Sachinganeshkar-m5h Месяц назад

    It took me about 2 hour to understand this logic by watching over and over again.. Even after looking at solution ,can't recreate it. where am i going wrong?

  • @Fido1hn
    @Fido1hn Месяц назад

    Thank you for this. ❤

    • @LeetCodeWithMonu
      @LeetCodeWithMonu 16 дней назад

      Thanks a lot. Please follow for more such contents. 😇

  • @abhashsingh6293
    @abhashsingh6293 Месяц назад

    superb video

    • @LeetCodeWithMonu
      @LeetCodeWithMonu 16 дней назад

      Thanks a lot. Please follow for more such contents. 😇

  • @a2m2tkyo
    @a2m2tkyo Месяц назад

    This is O(nLOGn), the problem requested to do under that. I also did this solution at first but I am looking for a way to do it under nLogn

  • @pasumarthiashik1099
    @pasumarthiashik1099 2 месяца назад

    but taking a prefix sum would mean using subarray (contagious part of array) - but this is not subsequence

  • @HappyBoaSnake-xp8vf
    @HappyBoaSnake-xp8vf 2 месяца назад

    You were saying (sum % 2) will be 1 but how, it will be 0 na ? and

  • @OdradasMarch2027
    @OdradasMarch2027 2 месяца назад

    Your approach and explanation to this problem is simple and best. No any jargon. Better than many top online educators. 🤟💌

    • @LeetCodeWithMonu
      @LeetCodeWithMonu 16 дней назад

      Thanks a lot. Your comment is really inspiring for me to create more helpful videos. Keep supporting. 😇

  • @Vlad1998996
    @Vlad1998996 2 месяца назад

    thx a lot

    • @LeetCodeWithMonu
      @LeetCodeWithMonu 16 дней назад

      Thanks a lot. Please follow for more such contents. 😇

  • @1030Celtic
    @1030Celtic 2 месяца назад

    with regex you can create a capturing group using the space and then apply reverse/join. Runtime is very low - s.trim().split(/\s+/g).reverse().join(' ')

  • @anirbansarkar7916
    @anirbansarkar7916 2 месяца назад

    Hi I just started learning DSA and its really helped me to understand this problem easily and that's for coding in js as there is very limited resource out there

    • @LeetCodeWithMonu
      @LeetCodeWithMonu 16 дней назад

      Thanks a lot. Please follow for more such contents. 😇

  • @mkunboxing
    @mkunboxing 3 месяца назад

    hey my name is also monu wow

  • @pasumarthiashik1099
    @pasumarthiashik1099 3 месяца назад

    how will that know to move right from 4 --> 5 again?

  • @enkhbilguunbatsaikhan6466
    @enkhbilguunbatsaikhan6466 3 месяца назад

    The best explenation ive encountered so farrr

    • @LeetCodeWithMonu
      @LeetCodeWithMonu 16 дней назад

      Thanks a lot. Please follow for more such contents. 😇

  • @Vitalik186
    @Vitalik186 3 месяца назад

    very nice, Thanks you

    • @LeetCodeWithMonu
      @LeetCodeWithMonu 16 дней назад

      Thanks a lot. Please follow for more such contents. 😇

  • @Ryderw93
    @Ryderw93 3 месяца назад

    Euclidean algorithm, TIL

  • @JaredFL
    @JaredFL 4 месяца назад

    I like the first concept of changing the value to visited or even adding an additional property of the object seen: true

    • @LeetCodeWithMonu
      @LeetCodeWithMonu 16 дней назад

      Thanks a lot. Please follow for more such contents. 😇

  • @GypsySingh
    @GypsySingh 4 месяца назад

    really liked the video keep the good work

    • @LeetCodeWithMonu
      @LeetCodeWithMonu 16 дней назад

      Thanks a lot. Please follow for more such contents. 😇

  • @saikrishnak2413
    @saikrishnak2413 4 месяца назад

    Thanks for the explanation 👍

    • @LeetCodeWithMonu
      @LeetCodeWithMonu 16 дней назад

      Thanks a lot. Please follow for more such contents. 😇

  • @sanjive05
    @sanjive05 4 месяца назад

    Thanks for this Solution ... ! Which microphone you using for recording this audio ?

    • @LeetCodeWithMonu
      @LeetCodeWithMonu 16 дней назад

      Thanks a lot. Please follow for more such contents. 😇 I am not using any external microphone. I record using mac recorder and its inbuilt microphone.

  • @naive-fleek7420
    @naive-fleek7420 4 месяца назад

    what a misleading video? where are the questions? why faking accent ?

    • @LeetCodeWithMonu
      @LeetCodeWithMonu 16 дней назад

      It is not misleading and the questions are not published by Google online or anywhere. It is people like us who go through the interview process and share their experience. There are few takeaways that I got from the interview even though I did not ace it. I can show you the proof of interview if you demand.

  • @hiraanny8238
    @hiraanny8238 4 месяца назад

    its too helpfull

    • @LeetCodeWithMonu
      @LeetCodeWithMonu 16 дней назад

      Thanks a lot. Please follow for more such contents. 😇

  • @ZakTheCreator
    @ZakTheCreator 4 месяца назад

    amazing, easy to understand explanation in javascript!!!

    • @LeetCodeWithMonu
      @LeetCodeWithMonu 16 дней назад

      Thanks a lot. Please follow for more such contents. 😇

  • @RavindraSingh-zg9eq
    @RavindraSingh-zg9eq 4 месяца назад

    Thank you so much for optimized solution and explanation , expecting more content like this

  • @faustotapia6495
    @faustotapia6495 4 месяца назад

    Excellent explanation, I got asked this question in an interview but came up with a very inefficient solution.

    • @LeetCodeWithMonu
      @LeetCodeWithMonu 16 дней назад

      No problem. Keep learning and you will ace the interviews one day soon. I hope you have already aced one. Let me know how it went.

  • @darshitgajjar5199
    @darshitgajjar5199 4 месяца назад

    Pls make more video, Good Content :-)

    • @LeetCodeWithMonu
      @LeetCodeWithMonu 16 дней назад

      Thanks a lot. I am adding more new videos to my playlists. Please follow for more contents. 😇

  • @nguyeny2141
    @nguyeny2141 4 месяца назад

    thanks you about content

    • @LeetCodeWithMonu
      @LeetCodeWithMonu 16 дней назад

      Thanks a lot. Please follow for more such contents. 😇

  • @svmyt655
    @svmyt655 4 месяца назад

    will the o(m+n) code work if the array contains negative integers .

  • @freecourseplatformenglish2829
    @freecourseplatformenglish2829 5 месяцев назад

    intution is missing. Please explain why slow and fast meet at loop start in 2nd part.

  • @TH3BUSH1D0
    @TH3BUSH1D0 5 месяцев назад

    your mic is way too quiet

    • @LeetCodeWithMonu
      @LeetCodeWithMonu 16 дней назад

      Thanks for pointing that out. I will keep that in mind the next time I create any video. 😇

  • @kinnikuchu
    @kinnikuchu 5 месяцев назад

    Very well explained, much better than in bigger channels. Thank you!

    • @LeetCodeWithMonu
      @LeetCodeWithMonu 16 дней назад

      Thanks a lot. Please follow for more such contents. 😇

  • @ashwanikumar415
    @ashwanikumar415 5 месяцев назад

    while setting map , lot of times we have to check if property doesn't exist it has to be 0 . Otherwise we do +1. so instead of line 9 and 10 . Single line can do this : map.set(c, (map.get(c) || 0) +1)

  • @cantseeme101
    @cantseeme101 5 месяцев назад

    Can you explain why parseInt worked and Math.floor did not?

  • @amitkocher1187
    @amitkocher1187 5 месяцев назад

    very nice and clean explanation all other channel solution are very confusing urs is best thanks

    • @LeetCodeWithMonu
      @LeetCodeWithMonu 16 дней назад

      Thanks a lot. Please follow for more such contents. 😇

  • @connorburns8955
    @connorburns8955 6 месяцев назад

    this is terrible

  • @ishaqyaseen1753
    @ishaqyaseen1753 6 месяцев назад

    you saved me from alen christy

  • @adityanavgire9118
    @adityanavgire9118 6 месяцев назад

    Good Content, Hard to find JS LeetCode solutions out there. Good work

    • @LeetCodeWithMonu
      @LeetCodeWithMonu 16 дней назад

      Thanks a lot. Please follow for more such contents. 😇