- 94
- 1 710
Harry Codes
เข้าร่วมเมื่อ 20 เม.ย. 2016
Min Stack
After getting it wrong last time this is a re attempt. I am pretty sure it is correct this time!
มุมมอง: 7
วีดีโอ
1636. Sort Array by Increasing Frequency (Optimised Solution)
มุมมอง 302 หลายเดือนก่อน
#leetcodesolutions #leetcode
1636. Sort Array by Increasing Frequency (Naive Solution)
มุมมอง 152 หลายเดือนก่อน
#leetcodesolutions #leetcode
83. Remove Duplicates from Sorted List
มุมมอง 533 หลายเดือนก่อน
83. Remove Duplicates from Sorted List
1717. Maximum Score From Removing Substrings
มุมมอง 213 หลายเดือนก่อน
1717. Maximum Score From Removing Substrings
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)
Yours isn't O(1) its O(n)
Good catch thank you. I will re attempt in the future. Changingthe title now to reflect the incorrect solution.
Sir❤❤❤❤
You got your and or mixed up in both while loops!!!! That's why you needed the break!!
Oh my god. I feel pretty stupid for not realising that one lol.
Awesome!
Awesome video I love just watching you solve them!
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!
@@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!
Hey bro, looks like you are new in starting, maybe you should add a more attractive thumbnail to get more views
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 😀
"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.
I totally agree, sometimes it can be hard to see the simple solution but it's so satisfying when it all clicks!
13:37 nice video length haha! Seems like you've learnt a pretty effective way of solving this problem. Keep up the videos!
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!
It's always good to come back to problems you cant solve with a fresh mind. Helps out a lot!
Damn this helped thanks
I am so glad this helped!