Global Village Fireworks Dubai
0:34
Expo City Dome Lights Dubai
0:58
Жыл бұрын
Пікірлер
@muartem
@muartem 13 сағат бұрын
Double-double lang...
@RaushanSingh-e3n
@RaushanSingh-e3n Ай бұрын
gajab..
@ganeshjaggineni4097
@ganeshjaggineni4097 Ай бұрын
NICE SUPER EXCELLENT MOTIVATED
@NareshGupta
@NareshGupta Ай бұрын
All the best!
@Flux-e4y
@Flux-e4y Ай бұрын
The concept is - n-(x+1) => n - x - 1 = 8 - 4 =>4
@RakeshReddy-o8f
@RakeshReddy-o8f Ай бұрын
wtf I thought it was really hard until I saw this video. Thanks for the explanation
@NareshGupta
@NareshGupta Ай бұрын
That's the spirit!
@rahulghadage6334
@rahulghadage6334 2 ай бұрын
Not understood middle for loop. 😢
@Satya-g5t
@Satya-g5t 2 ай бұрын
nice solutions you are posting, will bookmark your channel. 😀
@NareshGupta
@NareshGupta Ай бұрын
Welcome aboard!
@3lpme
@3lpme 3 ай бұрын
Good procedure
@NareshGupta
@NareshGupta Ай бұрын
Glad you liked it!
@techiji1645
@techiji1645 3 ай бұрын
code gives and error
@ayushman_sr
@ayushman_sr 3 ай бұрын
wtf! it is so much simple
@aavashkuikel1341
@aavashkuikel1341 3 ай бұрын
Awesome solution bro. Love from America
@NareshGupta
@NareshGupta 3 ай бұрын
Glad it helped
@beesettykalimahesh9373
@beesettykalimahesh9373 4 ай бұрын
Thanks for your effort for clear explaination.
@NareshGupta
@NareshGupta 4 ай бұрын
Glad it was helpful!
@priyagupta7662
@priyagupta7662 4 ай бұрын
THANK U SOO MUCH!!!
@KeerthiReddyKolan
@KeerthiReddyKolan 4 ай бұрын
How to did we get this formulae? idealSpots=No.of Chunks - cooling time?
@satviksrinivas8764
@satviksrinivas8764 4 ай бұрын
Thank you
@NareshGupta
@NareshGupta 4 ай бұрын
You're welcome
@shashwatnandan5083
@shashwatnandan5083 5 ай бұрын
worst video of all time . get lost from yt.
@Thunder97654
@Thunder97654 5 ай бұрын
Crisp and to the point explanation 🙏🙏, Thank you
@NareshGupta
@NareshGupta 4 ай бұрын
Glad it was helpful!
@PrinceSadh-bs5ml
@PrinceSadh-bs5ml 5 ай бұрын
We all understand the recursion tree. We just don't understand this specific line: (!winnerSquareGame()). Which is the main part of the problem and you didn't explain that.
@dinesh3175
@dinesh3175 5 ай бұрын
i/2 i didn't understand any one explain it
@ROHITKUMAR-e4c7t
@ROHITKUMAR-e4c7t 5 ай бұрын
great , can you explain , binary search method also. If you are still active, please make a video to explain binary search method for this problem, I am subscribing you for notifications.
@shotsologytamil
@shotsologytamil 5 ай бұрын
you took wrong numbers from the list
@bhaiisonline8392
@bhaiisonline8392 5 ай бұрын
3 years after , this problem still exists on leetcode
@tanmayraj2797
@tanmayraj2797 5 ай бұрын
sir your solution expalnation is best thanks uu...
@NareshGupta
@NareshGupta 4 ай бұрын
Most welcome
@iamnoob7593
@iamnoob7593 6 ай бұрын
Below average explanation , Thanks
@saurabhmohrir426
@saurabhmohrir426 6 ай бұрын
very nice solution keep it going bro
@NareshGupta
@NareshGupta 4 ай бұрын
Thanks
@eklavya22k34
@eklavya22k34 6 ай бұрын
Thanks
@yashgodbole8247
@yashgodbole8247 6 ай бұрын
but what if we change 0 to11 and 1 to 12 and 6 to 9 then the minimum value we be 9 and maximum wiil as it is 15 then difference will create of 6 . 15-9=6
@souravde3894
@souravde3894 6 ай бұрын
if the String is long then we have to use this code : - import java.math.BigInteger; class Solution { public int compareVersion(String version1, String version2) { String v1[] = version1.split("\\."); String v2 []= version2.split("\\."); for (int i=0; i < Math.max(v1.length, v2.length); i++) { BigInteger num1 = i < v1.length ? new BigInteger(v1[i]) : BigInteger.ZERO; BigInteger num2 = i < v2.length ? new BigInteger(v2[i]) : BigInteger.ZERO; int comp = num1.compareTo(num2); if(comp == 0) { continue; } return comp; } return 0; } }
@cs_in_10_minutes
@cs_in_10_minutes 6 ай бұрын
Kadane's Algorithm it is, I no where see DP. Please don't mention DP in heading
@vinamrasangal8436
@vinamrasangal8436 7 ай бұрын
naresh bhai !!
@servantofthelord8147
@servantofthelord8147 7 ай бұрын
Thank you sir! Your video was very helpful to me!
@NareshGupta
@NareshGupta 6 ай бұрын
Glad it helped
@iwillleavelasto9975
@iwillleavelasto9975 7 ай бұрын
Thank you! Great quick video!
@NareshGupta
@NareshGupta 6 ай бұрын
You're welcome!
@sarveshjoshi6913
@sarveshjoshi6913 7 ай бұрын
u just know the solution but u cant explain it
@ganeshjaggineni4097
@ganeshjaggineni4097 7 ай бұрын
NICE SUPER EXCELLENT MOTIVATED
@NareshGupta
@NareshGupta 6 ай бұрын
All the best
@ganeshjaggineni4097
@ganeshjaggineni4097 7 ай бұрын
NICE SUPER EXCELLENT MOTIVATED
@NareshGupta
@NareshGupta 4 ай бұрын
All the best
@AshwiniYeokar
@AshwiniYeokar 8 ай бұрын
I am also in uae and searching for java developer position having 1.9 yrs of experience in IBM india, if you can help in placement in dubai it will b helpful. Thank you i understand this question approch from your video.
@ganeshjaggineni4097
@ganeshjaggineni4097 8 ай бұрын
NICE SUPER EXCELLENT MOTIVATED
@NareshGupta
@NareshGupta 2 күн бұрын
Thanks keep watching
@ankurprakashsrivastava7764
@ankurprakashsrivastava7764 8 ай бұрын
Very well explained 👏
@NareshGupta
@NareshGupta 6 ай бұрын
Glad it was helpful!
@lavanya_m01
@lavanya_m01 8 ай бұрын
I didn't even understand the problem description. After your initial beautiful explanation, I was able to code it myself! Thanks :)
@NareshGupta
@NareshGupta 8 ай бұрын
Great to hear!
@Codro09
@Codro09 8 ай бұрын
wonderful solution sir I was watching 2-3 videos before and none of the approach was understandable and after watching yours I coded myself.
@NareshGupta
@NareshGupta 8 ай бұрын
Great to hear!
@vivekdatta-j8p
@vivekdatta-j8p 8 ай бұрын
Damn bro! the explanation was so neat!! keep it up
@theFifthMountain123
@theFifthMountain123 8 ай бұрын
for the algorithm.Thanks
@AmrShOmar
@AmrShOmar 8 ай бұрын
i"ll be using this algorithm in my assignment, i'll edit my comment if i got A+
@alihisham546
@alihisham546 8 ай бұрын
yes me too!!! (i'm with him in the group assignment)
@dwakwe2796
@dwakwe2796 8 ай бұрын
Thank you very much.
@NareshGupta
@NareshGupta 8 ай бұрын
Welcome 😊
@INetreba
@INetreba 9 ай бұрын
Thank you! Great reasources
@NareshGupta
@NareshGupta 8 ай бұрын
Glad it was helpful!
@parthh1112
@parthh1112 9 ай бұрын
class Solution { public: int length (ListNode *&l){ int cnt = 0; ListNode *t = l; while(t){ t = t->next; cnt++; } return cnt; } void addZero(ListNode *&l,int cnt){ ListNode *add = new ListNode(0); ListNode *b = add; cnt--; while(cnt > 0){ cnt--; ListNode *n = new ListNode(0); add -> next = n; add = n; } add -> next = l; l = b; } void addll(ListNode *&l1,ListNode *&l2,int& cnt){ if(!l1 && !l2)return ; addll(l1->next,l2->next,cnt); int sum = l1->val+l2->val+cnt; cnt = sum / 10; l1 -> val = sum % 10; } ListNode* addTwoNumbers(ListNode* l1, ListNode* l2) { int c1 = length(l1); int c2 = length(l2); int l = abs(c1-c2); if(c1 > c2) addZero(l2,l); else if(c1 < c2) addZero(l1,l); int c = 0; addll(l1,l2,c); if(c){ ListNode *n = new ListNode(1); n -> next = l1; l1 = n; } return l1; } };
@sanooosai
@sanooosai 9 ай бұрын
great thank you
@FrezoreR
@FrezoreR 9 ай бұрын
While very simple it's pretty elegant to encode unbalanced as -1. The boolean statement could even be height(root) >= 0, which reads really well.
@jashanjotbedi1796
@jashanjotbedi1796 9 ай бұрын
count = (k-1)*m ?? not understood this code
@spartant_1212
@spartant_1212 9 ай бұрын
Time complexity here is O(n) is because you do not sort the result. Actually your final answer is not sorted that is not correct they expect final array should be sorted so you need to sort the array at the end and that is why time Complexity is Onlogn Please correct me If I'm wrong