Hi sir, I have been following your daily videos for a while and the consistency to post these so early in the morning is truly remarkable. Thank You
@techdose4uАй бұрын
Appreciate it, I try my best to keep up the daily rhythm!
@ricardoriolgonzalez1128Ай бұрын
Nice idea and explanation!
@techdose4uАй бұрын
Thank you! Cheers!
@JuicyM0NАй бұрын
love your explanation!!! just one thing about this video , there is some kind of electrical disturbance in audio , for reference check 8:25 - 8:35 .
@techdose4uАй бұрын
I had noticed while editing. This is due to the mic shaking due to unstable table. The swing arm of the mic holder is not very stable :| Gotta do something about it
@BigStin-0Ай бұрын
Thank you Sir!
@techdose4uАй бұрын
Welcome! 😊
@nicolaswolyniec1354Ай бұрын
I used the sweep line technique to solve it. I remembered one of your previous videos. Thanks!
@techdose4uАй бұрын
nice
@GauravAttri-j5mАй бұрын
Can you please post the solution here , i too tried to solve it with sweep but it showed some error
@nicolaswolyniec1354Ай бұрын
@@GauravAttri-j5m sure thing! class Solution: def maximumBeauty(self, nums: List[int], k: int) -> int: events = [] for n in nums: events.append((n-k, 1)) events.append((n+k+1, -1)) events.sort() ans = 0 curr = 0 for p, e in events: curr += e ans = max(ans, curr) return ans
@GauravAttri-j5mАй бұрын
@@nicolaswolyniec1354 thanks
@LinhĐình-o5oАй бұрын
thank you for your lesson
@techdose4uАй бұрын
Welcome 😊
@ViratDwivediMIAАй бұрын
1:20 what calculation is it ? plz i didn't get
@rutikbhanushali957Ай бұрын
Intuitive approach..
@techdose4uАй бұрын
👍🏼
@sailendrachettri8521Ай бұрын
Thank you sir :)
@techdose4uАй бұрын
welcome :)
@deeshadubey3127Ай бұрын
Nice sir.. But there I one more thing we can keep moving right Pointer and we will only move the left only if it breaks our condition in this way we can do this using single loop❤ Thanks a lot🙏
@techdose4uАй бұрын
welcome
@devmahadАй бұрын
thanks :)
@techdose4uАй бұрын
welcome :)
@vishweshchaudhari5285Ай бұрын
Hello it would be very use if we get some videos on how to approach problem or pattern in general. Instead solution directly. May improve overall understanding
@techdose4uАй бұрын
👌🏽
@sriraman1817Ай бұрын
Thanks a lot for all the videos. By any chance is there any plan to post videos of contest solutions also ?
@techdose4uАй бұрын
welcome. no such plan due to lack of time.
@prasunroy2802Ай бұрын
Similar questions: 1. 3346 Maximum Frequency of an Element After Performing Operations I 2. 3347 Maximum Frequency of an Element After Performing Operations II
@techdose4uАй бұрын
great
@AlbinSabu-y2vАй бұрын
Love the way of ur expln calm neat & deep❤🎉 , by the way can u pls explain how we compare the 10to the power of any num (given constraints)compared with TC . Thankyou