Master Data Structures & Algorithms for FREE at AlgoMap.io/
@alisheheryar177010 күн бұрын
Good job of Brute Force and Optimal solution.
@xAllaboutx9 күн бұрын
nice, I have got: "Beats 91%" with this, I kept using the n variable, skipping the h variable, no need for h = n
@spacetime_wanderer2 ай бұрын
Amazing explanation Greg! You helped me to build my intuition. Subscribed!
@mohammadrafi8952 ай бұрын
I think both Array and DP problems are equally hard. In DP, you have to catch the pattern which is the hardest bit. And for array problems, you never know when any concept out of the blue can be applied like Counting Sort.
@survivourff70142 ай бұрын
Your dsa videos are really good…pls try to cover all the topics bro
@dreadknot662 ай бұрын
Hey, Greg! Great explanation. Can you please make a video on LRU Cache?
@AdoniyasGetnet2 ай бұрын
class Solution: def hIndex(self, citations): citations.sort(reverse=True) print(citations) j=0 n=len(citations) for i in citations: if i>j: j+=1 return j
@edwinantonius632 ай бұрын
I like this solution, my initial gut feeling made me thing about creating a dictionary of citation counts paired with a rank....
@HùngTô-i4d14 күн бұрын
Thanks
@ackeman93862 ай бұрын
Teaching me as if I were dumb. I love that!
@GregHogg2 ай бұрын
This one is pretty tricky so I had to really dumb it down lol
@CyrusWong-yq4uw2 ай бұрын
Hi Greg, can you please upload a tutorial about Leetcode Question 34 Find First and Last Position of Element in Sorted Array? I am struggling on it and I need some help. Thank you so much !
@GuilhermeDugaichdeOliveira2 ай бұрын
Great one! What is the app you use for drawing?
@chisomedoka565123 күн бұрын
Mira
@sharpiemaster73512 ай бұрын
What drawing software do you use?
@survivourff70142 ай бұрын
Bro…pls make a video on bit manipulation
@adithyar31602 ай бұрын
hi @gregg buddy, can you do a video on LRU cache. Thank you in advance.
@GregHogg2 ай бұрын
Okay I'll try
@mohammadrafi8952 ай бұрын
You should start teaching online officially.
@GregHogg2 ай бұрын
What does that mean exactly haha
@mohammadrafi8952 ай бұрын
@@GregHogg Like starting your website where you offer paid courses. :)
@mohammadrafi8952 ай бұрын
@@GregHogg You have the most articulate way of teaching. I've seen any tutors that teach so elegantly. I'd love to see your courses where you go in-depth about concepts.
@freesoftwares6042Ай бұрын
oki got thru this , but how tf a test case [11,15] is supose to return 2 , is leetcode drunk orsomething?
@ardenmatikyan9658Ай бұрын
There are 2 papers with at least 2 citations. The max h is 2