3153. Sum of Digit Differences of All Pairs | Arrays | Sum

  Рет қаралды 3,910

Aryan Mittal

Aryan Mittal

Күн бұрын

Пікірлер: 23
@ARYANMITTAL
@ARYANMITTAL 6 ай бұрын
Mass Cheating in every Leetcode Contest (More shorts on this New Channel) - kzbin.infohH473URZWnk?si=VHvc-zg59h7kbR-u
@pedroalmeida6728
@pedroalmeida6728 Ай бұрын
actuall top-notch explanation, thank you man!
@satviksrinivas8764
@satviksrinivas8764 5 ай бұрын
Thank you!
@SHUBHAMJHA-o3g
@SHUBHAMJHA-o3g 6 ай бұрын
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_Bora
@Adarsh_Bora 6 ай бұрын
#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
@goyaldeekshant
@goyaldeekshant 6 ай бұрын
superb
@ucanhly1166
@ucanhly1166 6 ай бұрын
You're so smart , love ya bro keep it up!
@AleemPasha-r2w
@AleemPasha-r2w 6 ай бұрын
also make a video on special array 2
@ARYANMITTAL
@ARYANMITTAL 6 ай бұрын
yaa yaa, it is already live on channel ❤️
@shravankhar7180
@shravankhar7180 6 ай бұрын
Can anyone explain why we should divide by 2
@TON-108
@TON-108 6 ай бұрын
repetitions bro,
@shatulbansal4756
@shatulbansal4756 6 ай бұрын
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-world8906
@hello-world8906 5 ай бұрын
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?
@Bababahahabwhwh
@Bababahahabwhwh 6 ай бұрын
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_Overflow
@meme_Overflow 6 ай бұрын
4 saal to bahut dur ki bat h keep hoping
@SHUBHAMJHA-o3g
@SHUBHAMJHA-o3g 6 ай бұрын
are yaar this was simple ! but didn't click at that time!
@SHUBHAMJHA-o3g
@SHUBHAMJHA-o3g 6 ай бұрын
did it thanks again for the vid
@YuvikaSingh-gs2sj
@YuvikaSingh-gs2sj 6 ай бұрын
make a solution of special array 2 @aryanmittal
@ARYANMITTAL
@ARYANMITTAL 6 ай бұрын
Done sir, already live on channel ❤️
@Engineering.Wallah
@Engineering.Wallah 6 ай бұрын
Question was not clear. I was subtracting the digits
@omkumarjha2745
@omkumarjha2745 6 ай бұрын
Bahane nhi
@Engineering.Wallah
@Engineering.Wallah 6 ай бұрын
@@omkumarjha2745 sach
@Engineering.Wallah
@Engineering.Wallah 6 ай бұрын
@@omkumarjha2745 sachi
Farmer narrowly escapes tiger attack
00:20
CTV News
Рет қаралды 13 МЛН
УДИВИЛ ВСЕХ СВОИМ УХОДОМ!😳 #shorts
00:49
黑天使只对C罗有感觉#short #angel #clown
00:39
Super Beauty team
Рет қаралды 19 МЛН
3152. Special Array II | 3151. Special Array I | Prefix Sums | Arrays
16:06
Sum of Subarray Minimums - Leetcode 907 - Python
18:51
NeetCodeIO
Рет қаралды 35 М.
3085. Minimum Deletions to Make String K-Special | DP | Hash Table
16:14
Sum of All Subsets XOR Total - Leetcode 1863 - Python
18:26
NeetCodeIO
Рет қаралды 11 М.