Mass Cheating in every Leetcode Contest (More shorts on this New Channel) - kzbin.infohH473URZWnk?si=VHvc-zg59h7kbR-u
@pedroalmeida6728Ай бұрын
actuall top-notch explanation, thank you man!
@satviksrinivas87645 ай бұрын
Thank you!
@SHUBHAMJHA-o3g6 ай бұрын
Hello for the second loop can it also be done knowing the fact there are two 6 at the 3rd position and 4 is the number of elements in the array, so why not just do 2*(4 - 2) = 4 directly, and then for all the places this way the second loop will just take O(digits of the number in nums)
@Adarsh_Bora6 ай бұрын
#define ll long long int class Solution { public: unordered_map mp; void count(int el){ string s = to_string(el); for(int i=0; i
@goyaldeekshant6 ай бұрын
superb
@ucanhly11666 ай бұрын
You're so smart , love ya bro keep it up!
@AleemPasha-r2w6 ай бұрын
also make a video on special array 2
@ARYANMITTAL6 ай бұрын
yaa yaa, it is already live on channel ❤️
@shravankhar71806 ай бұрын
Can anyone explain why we should divide by 2
@TON-1086 ай бұрын
repetitions bro,
@shatulbansal47566 ай бұрын
Bro, you made a small mistake in TC calculation, length of each number is upto 10^9 and not 10, so TC of your solution will be more than what you suggested, your views??
@hello-world89065 ай бұрын
so wont the TC be O(n*m), where n is the number of elements and m is the number of digits (which can be 10^9 in worst case)? and why isn't this causing TLE then?
@Bababahahabwhwh6 ай бұрын
Maine yr BC map ka ni socha par maine modulo se karke har pair k liya check kiya koina pehla contest tha abhi toa 1st sem start bhi ni hua,baki koi advice do guys 🤘
@meme_Overflow6 ай бұрын
4 saal to bahut dur ki bat h keep hoping
@SHUBHAMJHA-o3g6 ай бұрын
are yaar this was simple ! but didn't click at that time!
@SHUBHAMJHA-o3g6 ай бұрын
did it thanks again for the vid
@YuvikaSingh-gs2sj6 ай бұрын
make a solution of special array 2 @aryanmittal
@ARYANMITTAL6 ай бұрын
Done sir, already live on channel ❤️
@Engineering.Wallah6 ай бұрын
Question was not clear. I was subtracting the digits