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

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

Aryan Mittal

Aryan Mittal

Күн бұрын

In this video, I'll talk about how to solve Leetcode 3153. Sum of Digit Differences of All Pairs | Arrays | Sum
Let's Connect:
📱Discord (Join Community) : / discord
📝Linkedin: / aryan-mittal-0077
📸 Instagram: / codewitharyanbhai
💻 Twitter - / aryan_mittal007
🤖 Github: github.com/aryan-0077
About Me:
I am Aryan Mittal - A Software Engineer in Goldman Sachs, Speaker, Creator & Educator. During my free time, I create programming education content on this channel & also how to use that to grow :)
✨ Hashtags ✨
#programming #Interviews #leetcode #faang #maang #datastructures #algorithms

Пікірлер: 21
@ARYANMITTAL
@ARYANMITTAL Ай бұрын
Mass Cheating in every Leetcode Contest (More shorts on this New Channel) - kzbin.infohH473URZWnk?si=VHvc-zg59h7kbR-u
@ucanhly1166
@ucanhly1166 Ай бұрын
You're so smart , love ya bro keep it up!
@satviksrinivas8764
@satviksrinivas8764 7 күн бұрын
Thank you!
@goyaldeekshant
@goyaldeekshant Ай бұрын
superb
@user-vs3jn4xi4x
@user-vs3jn4xi4x Ай бұрын
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)
@user-vi5nd3pl8s
@user-vi5nd3pl8s Ай бұрын
also make a video on special array 2
@ARYANMITTAL
@ARYANMITTAL Ай бұрын
yaa yaa, it is already live on channel ❤️
@Adarsh_03
@Adarsh_03 Ай бұрын
#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
@shatulbansal4756
@shatulbansal4756 23 күн бұрын
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??
@shravankhar7180
@shravankhar7180 29 күн бұрын
Can anyone explain why we should divide by 2
@TON-108
@TON-108 28 күн бұрын
repetitions bro,
@user-vs3jn4xi4x
@user-vs3jn4xi4x Ай бұрын
are yaar this was simple ! but didn't click at that time!
@user-vs3jn4xi4x
@user-vs3jn4xi4x Ай бұрын
did it thanks again for the vid
@Bababahahabwhwh
@Bababahahabwhwh Ай бұрын
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 26 күн бұрын
4 saal to bahut dur ki bat h keep hoping
@YuvikaSingh-gs2sj
@YuvikaSingh-gs2sj Ай бұрын
make a solution of special array 2 @aryanmittal
@ARYANMITTAL
@ARYANMITTAL Ай бұрын
Done sir, already live on channel ❤️
@Engineering.Wallah
@Engineering.Wallah Ай бұрын
Question was not clear. I was subtracting the digits
@omkumarjha2745
@omkumarjha2745 Ай бұрын
Bahane nhi
@Engineering.Wallah
@Engineering.Wallah Ай бұрын
@@omkumarjha2745 sach
@Engineering.Wallah
@Engineering.Wallah Ай бұрын
@@omkumarjha2745 sachi
Backstage 🤫 tutorial #elsarca #tiktok
00:13
Elsa Arca
Рет қаралды 42 МЛН
⬅️🤔➡️
00:31
Celine Dept
Рет қаралды 36 МЛН
ИРИНА КАЙРАТОВНА - АЙДАХАР (БЕКА) [MV]
02:51
ГОСТ ENTERTAINMENT
Рет қаралды 1,7 МЛН
Prefix Sums - Problems, Code in C++ & Python
20:51
Errichto Algorithms
Рет қаралды 41 М.
5 Math Skills Every Programmer Needs
9:08
Sahil & Sarra
Рет қаралды 1 МЛН
My Moves SHOCKED This Chess Grandmaster
6:13
AlexandraChess
Рет қаралды 3,4 М.
My Brain after 569 Leetcode Problems
7:50
NeetCode
Рет қаралды 2,4 МЛН
COMPUTER SCIENCE explained in 17 Minutes
16:49
Wacky Science
Рет қаралды 536 М.
330. Patching Array | Greedy | Array | Math | Why not Bitset Trick
23:30
Backstage 🤫 tutorial #elsarca #tiktok
00:13
Elsa Arca
Рет қаралды 42 МЛН