Пікірлер
@TWNOGaming
@TWNOGaming Ай бұрын
Stop music please
@user-bq1hs5ok3l
@user-bq1hs5ok3l 2 ай бұрын
Very good
@supriyatamrakar
@supriyatamrakar 3 ай бұрын
Just a suggestion Please upload video with background music
@subash9733
@subash9733 6 ай бұрын
Much love from nepal, Brother....
@user-ox1wu7iz1l
@user-ox1wu7iz1l 8 ай бұрын
If the array is [25,20,15,10]. Then you can't find second largest number
@Uncut_Traveller
@Uncut_Traveller 7 ай бұрын
Right
@SA-lt8pc
@SA-lt8pc 8 ай бұрын
wahhhhhhh thank you so much
@SA-lt8pc
@SA-lt8pc 8 ай бұрын
2:20 🤣
@29ibrahimsayed95
@29ibrahimsayed95 9 ай бұрын
beautiful
@rakeshroy1633
@rakeshroy1633 9 ай бұрын
Why you not uploading vedio
@mohitsingh6717
@mohitsingh6717 10 ай бұрын
Reactjs par ek series banao
@mohitsingh6717
@mohitsingh6717 10 ай бұрын
kya simplicity hai bhaiya code
@ThePostCard
@ThePostCard 10 ай бұрын
Thankyou!
@producty3416
@producty3416 10 ай бұрын
Amazing video. Kindly upload more JavaScript videos.
@ShortCodeDev
@ShortCodeDev Жыл бұрын
Promise all is like series connection is while promise.allSetteled is parallel connection 😂
@ShortCodeDev
@ShortCodeDev Жыл бұрын
Kaha ho aaj kal aap, video kyu nhi Aa rhi h apki?😢
@kumawatmahendra3079
@kumawatmahendra3079 Жыл бұрын
kya simple tarike se samjaya bro❤
@tusharsharma2359
@tusharsharma2359 Жыл бұрын
bhai ji your way of teaching is very out of the box. why did you stopped making these videos. please come back. love from Delhi
@valikonen
@valikonen Жыл бұрын
Nice job!
@KushEzio
@KushEzio Жыл бұрын
Use Number.NEGATIVE_INFINITY to correct issues in this code.
@Mentalist06
@Mentalist06 Жыл бұрын
what about mergeTwoLists([1,3,4,1],[1,2,3]) . This code is not working on leetcode
@BernardoMenescal
@BernardoMenescal 8 ай бұрын
Because the first array isn't sorted. Both arrays must be already sorted.
@Foodiee__787
@Foodiee__787 Жыл бұрын
this video literally help me to understand this topic....thanks to upload this video💯💯
@mominuber
@mominuber Жыл бұрын
// Your code is too long. const input=[1,2,-2,11,7,22,25,1]; const input1=[1,4,7,2,4,8,10,7]; function smax(input){ let arr=input.sort((a,b)=>a-b); return arr[arr.length-2];} console.log(smax(input)); console.log(smax(input1)); //Output:22 8
@valikonen
@valikonen Жыл бұрын
Very often on interview they don't let you to use built in functions
@at4371
@at4371 Жыл бұрын
Thank you minor fix /* second largest number */ const secondLargestNumber = (arr) => { let largestNumber = -Infinity let secondLargest = -Infinity for ( var i = 0; i < arr.length; i++ ) { if (arr[i] > largestNumber) { /* before updating laregest lets save it to secondLargest */ secondLargest = largestNumber largestNumber = arr[i] } else if( arr[i] > secondLargest && arr[i] != largestNumber) { secondLargest = arr[i] } } return secondLargest } console.log(secondLargestNumber([1,3,5,2,80,44,60,90,100,100]))
@himanshukhatri4922
@himanshukhatri4922 Жыл бұрын
So far the best video for this topic Thanks a lot GOOD JOB brother
@sayalikhot4328
@sayalikhot4328 Жыл бұрын
I saw you did only two videos about DSA with JS please complete that series.
@eatcoderepeat
@eatcoderepeat Жыл бұрын
will try 🙂
@sayalikhot4328
@sayalikhot4328 Жыл бұрын
awesome explanation 🥳🥳
@CrazyAshu34
@CrazyAshu34 Жыл бұрын
Vahi Chi bataya Bhai Ne Jo isse pehle vale Video Me tha Par isko Dekhne se revision Ho gaya Or Globalthis Pe Bharosa 💁
@jayanshi22
@jayanshi22 Жыл бұрын
i am first time watch your video your way of explainig is very good i understand quickly now my all doubts is clear to this topic lots of thanks to you😊
@harshads530
@harshads530 Жыл бұрын
if duplicates are present in the array.... const arr = [1,4,2,7,4,7] const getSecLarNum = (arr=[1,4,2,7,4,7])=>{ let largestNum = arr[0]; let secLargNum = arr[0]; for(i=0; i < arr.length ; i++){ if(arr[i] > largestNum){ secLargNum = largestNum; largestNum = arr[i]; }else if(arr[i] == largestNum){ continue; }else if(arr[i] > secLargNum){ secLargNum = arr[i] } } return secLargNum; } console.log(getSecLarNum())
@abhinav9793
@abhinav9793 Жыл бұрын
Expecting more tutorials from you..
@nabilanair5133
@nabilanair5133 Жыл бұрын
Thank you 🙂
@tapassahoo226
@tapassahoo226 Жыл бұрын
Very nice, love you bro.
@manishgoswami7476
@manishgoswami7476 Жыл бұрын
Thanks man!
@diamondnathaniel970
@diamondnathaniel970 Жыл бұрын
great job man. I love your solution
@pythusiast4701
@pythusiast4701 Жыл бұрын
very nice and helpful
@nabeelaliibol2064
@nabeelaliibol2064 Жыл бұрын
aray bhaya or videos b upload kro ap bht acha samjaaty ho!!!!💗💗💗
@13.5coder2
@13.5coder2 Жыл бұрын
sir why are you not creating tutorials?
@Dailyblogs216
@Dailyblogs216 Жыл бұрын
easy to understand and helpful
@nikhilgupta8941
@nikhilgupta8941 Жыл бұрын
Great job
@manasbhatt007
@manasbhatt007 Жыл бұрын
bro optional chaining ko typescript me kese apply karu with square bracket property accessor?
@techrelayhub
@techrelayhub Жыл бұрын
this code wont work because the while loop has no counter and next will always be the same, so you will end up in that loop, also shift method has 0(n^2) time complexity
@rajivpatel8397
@rajivpatel8397 Жыл бұрын
excellent video
@DoingCoding
@DoingCoding Жыл бұрын
such an awesome tutorial
@rahulchavda9063
@rahulchavda9063 Жыл бұрын
mentos zindagi 😂😂😂😂😂😂
@alexlui1
@alexlui1 Жыл бұрын
use pointer instead of shift. shift is bad
@Mdshahibakhan
@Mdshahibakhan 2 жыл бұрын
sir can you teach react js plz
@aditikhedkar8514
@aditikhedkar8514 2 жыл бұрын
Great video. No new video? 🥺
@skcoding1357
@skcoding1357 2 жыл бұрын
easily understanding
@AGENT-hv6se
@AGENT-hv6se 2 жыл бұрын
Great work sir
@ভোমরা
@ভোমরা 2 жыл бұрын
Nice Bro, Love from Bangladesh!!!