Harry Codes
Harry Codes
  • 94
  • 1 710
Min Stack
After getting it wrong last time this is a re attempt. I am pretty sure it is correct this time!
มุมมอง: 7

วีดีโอ

Binary Search
มุมมอง 102 หลายเดือนก่อน
#neetcode
Minimum Stack (Incorrect Solution)
มุมมอง 422 หลายเดือนก่อน
#leetcode #neetcode
206. Reverse Linked List
มุมมอง 312 หลายเดือนก่อน
#leetcodesolutions #leetcodeproblems
2191. Sort the Jumbled Numbers
มุมมอง 142 หลายเดือนก่อน
#leetcodesolutions #leetcode #leetcodemedium
1636. Sort Array by Increasing Frequency (Optimised Solution)
มุมมอง 302 หลายเดือนก่อน
#leetcodesolutions #leetcode
1636. Sort Array by Increasing Frequency (Naive Solution)
มุมมอง 152 หลายเดือนก่อน
#leetcodesolutions #leetcode
2418. Sort the People (Optimised Solution)
มุมมอง 112 หลายเดือนก่อน
#leetcodesolutions #leetcode
2418. Sort the People
มุมมอง 592 หลายเดือนก่อน
#leetcodesolutions
Invert a Binary Tree
มุมมอง 492 หลายเดือนก่อน
#neetcode #leetcodesolutions
1380. Lucky Numbers in a Matrix
มุมมอง 53 หลายเดือนก่อน
#leetcodesolutions #leetcode
Word Break
มุมมอง 83 หลายเดือนก่อน
#neetcode #leetcodesolutions
Max Water Container
มุมมอง 153 หลายเดือนก่อน
#neetcode #leetcodesolutions
Validate Parentheses
มุมมอง 63 หลายเดือนก่อน
#neetcode #leetcodesolutions
Anagram Groups
มุมมอง 53 หลายเดือนก่อน
#neetcode #leetcodesolutions
Two Integer Sum II
มุมมอง 223 หลายเดือนก่อน
Two Integer Sum II
Top K Elements in List
มุมมอง 93 หลายเดือนก่อน
Top K Elements in List
Two Integer Sum
มุมมอง 83 หลายเดือนก่อน
Two Integer Sum
Valid Anagram
มุมมอง 113 หลายเดือนก่อน
Valid Anagram
Contains Duplicate
มุมมอง 43 หลายเดือนก่อน
Contains Duplicate
83. Remove Duplicates from Sorted List
มุมมอง 533 หลายเดือนก่อน
83. Remove Duplicates from Sorted List
92. Reverse Linked List II
มุมมอง 123 หลายเดือนก่อน
92. Reverse Linked List II
96. Unique Binary Search Trees
มุมมอง 103 หลายเดือนก่อน
96. Unique Binary Search Trees
1717. Maximum Score From Removing Substrings
มุมมอง 213 หลายเดือนก่อน
1717. Maximum Score From Removing Substrings
69. Sqrt(x) (Fastest Solution)
มุมมอง 2483 หลายเดือนก่อน
69. Sqrt(x) (Fastest Solution)
69. Sqrt(x) (Naive Answer)
มุมมอง 563 หลายเดือนก่อน
69. Sqrt(x) (Naive Answer)
100. Same Tree
มุมมอง 463 หลายเดือนก่อน
100. Same Tree
1190. Reverse Substrings Between Each Pair of Parentheses (Solution Explained)
มุมมอง 163 หลายเดือนก่อน
1190. Reverse Substrings Between Each Pair of Parentheses (Solution Explained)
1190. Reverse Substrings Between Each Pair of Parentheses (My thought process, answer at end)
มุมมอง 353 หลายเดือนก่อน
1190. Reverse Substrings Between Each Pair of Parentheses (My thought process, answer at end)
98. Validate Binary Search Tree
มุมมอง 53 หลายเดือนก่อน
98. Validate Binary Search Tree

ความคิดเห็น

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

    Yours isn't O(1) its O(n)

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

      Good catch thank you. I will re attempt in the future. Changingthe title now to reflect the incorrect solution.

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

    Sir❤❤❤❤

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

    You got your and or mixed up in both while loops!!!! That's why you needed the break!!

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

      Oh my god. I feel pretty stupid for not realising that one lol.

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

    Awesome!

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

    Awesome video I love just watching you solve them!

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

    Sometimes you need to pass the pillow. Enough messing around. I am very glad you got the solution, I wasn't able to complete it personally but your videos are assisting in my journey. Thank you and keep it up!

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

      @@ItzJasonn I am glad that they can help! How cool is it to see the difference in run time and memory between the same implementations across languages!

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

    Hey bro, looks like you are new in starting, maybe you should add a more attractive thumbnail to get more views

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

      I appreciate the advice, currently I'm mainly doing this just to track my own progress and work on my ability to explain and work through the problems. I honestly didn't expect anyone to see these videos ever. In the future I plan on doing walkthroughs of the solution which are focused more on explaining how to do it and less on me solving it for the first time myself and I'll definitely look into thumbnails for those! Again I appreciate the advice 😀

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

    "Sometimes the best solution is the most simple solution," My favourite quote. Ahh how much this video made me relive experiencing that quote for the first time. Thank you.

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

      I totally agree, sometimes it can be hard to see the simple solution but it's so satisfying when it all clicks!

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

    13:37 nice video length haha! Seems like you've learnt a pretty effective way of solving this problem. Keep up the videos!

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

      Thanks Jason! I aim to absolutely keep up the videos! Having the beforehand knowledge to use a stack really helped my efficiency here for sure!

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

    It's always good to come back to problems you cant solve with a fresh mind. Helps out a lot!

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

    Damn this helped thanks