3152. Special Array II | 3151. Special Array I | Prefix Sums | Arrays

  Рет қаралды 6,207

Aryan Mittal

Aryan Mittal

Күн бұрын

Пікірлер: 16
@ARYANMITTAL
@ARYANMITTAL 8 ай бұрын
Mass Cheating in every Leetcode Contest (More shorts on this New Channel) - kzbin.infohH473URZWnk?si=VHvc-zg59h7kbR-u
@unknown07711
@unknown07711 8 ай бұрын
The main reason of cheating is that students are more focusing on rating rather than taking it as practice ...
@emon4912
@emon4912 8 ай бұрын
I also thought of prefixSum but was confused of what to kept as prefixSum. Your step by step approach was so helpful.
@kingxkaushal
@kingxkaushal Ай бұрын
good explanation..
@anshthakur4677
@anshthakur4677 8 ай бұрын
Can also be solved using lower_bound✌️
@yashkalia2311
@yashkalia2311 8 ай бұрын
i solved it too
@bishwashkumarsah171
@bishwashkumarsah171 8 ай бұрын
how?
@goyaldeekshant
@goyaldeekshant 8 ай бұрын
nice one
@rev_krakken70
@rev_krakken70 Ай бұрын
I solved the second question using binary search. That concept seemed easier for me to understand rather than the prefix sum one
@AdityaGupta-kv5ip
@AdityaGupta-kv5ip Ай бұрын
I solved it using segment trees and after solving when I saw the editorial I saw that there was not even any one solution using segment trees lol and not even the problem tags mention segment trees😂
@abhyudaysingh6201
@abhyudaysingh6201 8 ай бұрын
what is a bad index ?
@jimit2795
@jimit2795 8 ай бұрын
How come someone can come up with that bad indexs stuff in an interview. Damm I am dumb af.
@TarakMehtaBgmi
@TarakMehtaBgmi 8 ай бұрын
can also do it using sliding window by sorting the queries
@vaibhavindoliya8139
@vaibhavindoliya8139 8 ай бұрын
Send the solution
@bhuppidhamii
@bhuppidhamii 8 ай бұрын
please share your LC account
3153. Sum of Digit Differences of All Pairs | Arrays | Sum
15:41
Aryan Mittal
Рет қаралды 4 М.
黑天使被操控了#short #angel #clown
00:40
Super Beauty team
Рет қаралды 61 МЛН
Гениальное изобретение из обычного стаканчика!
00:31
Лютая физика | Олимпиадная физика
Рет қаралды 4,8 МЛН
To Brawl AND BEYOND!
00:51
Brawl Stars
Рет қаралды 17 МЛН
Try this prank with your friends 😂 @karina-kola
00:18
Andrey Grechka
Рет қаралды 9 МЛН
Prefix Sum in 4 minutes | LeetCode Pattern
4:13
AlgoMasterIO
Рет қаралды 19 М.
one year of studying (it was a mistake)
12:51
Jeffrey Codes
Рет қаралды 203 М.
Special Array II | Leetcode 3152
13:49
Techdose
Рет қаралды 4,4 М.
This Algorithm is 1,606,240% FASTER
13:31
ThePrimeagen
Рет қаралды 861 М.
525. Contiguous Array | Prefix Sums | Hash Tables | 3 Approaches
18:30
974. Subarray Sums Divisible by K | PrefSum | Not an Easy Problem
17:19
黑天使被操控了#short #angel #clown
00:40
Super Beauty team
Рет қаралды 61 МЛН