Тёмный
Bhavesh Ithape
Bhavesh Ithape
Bhavesh Ithape
Подписаться
Комментарии
@sumanVerma-wy3oc
@sumanVerma-wy3oc 2 месяца назад
❤ good
@richa275
@richa275 5 месяцев назад
public static int hourglassSum(List<List<Integer>> arr) { int rows = arr.size(); // Corrected to use size() for List int col = arr.get(0).size(); // Corrected to use size() for List inside List int maxSum = Integer.MIN_VALUE; // Corrected variable naming for (int i = 0; i < rows - 2; i++) { for (int j = 0; j < col - 2; j++) { int currSum = arr.get(i).get(j) + arr.get(i).get(j + 1) + arr.get(i).get(j + 2) + arr.get(i + 1).get(j + 1) + arr.get(i + 2).get(j) + arr.get(i + 2).get(j + 1) + arr.get(i + 2).get(j + 2); maxSum = Math.max(currSum, maxSum); } } return maxSum; }
@taiyabakhan4923
@taiyabakhan4923 5 дней назад
thanksssssssssss
@shreyashdhasade9717
@shreyashdhasade9717 5 месяцев назад
Thanks bhavesh
@pasumarthiashik1099
@pasumarthiashik1099 6 месяцев назад
better explanation , but what is the second approach called?
@aishwaryashinde230
@aishwaryashinde230 8 месяцев назад
this code is not working
@micah9396
@micah9396 9 месяцев назад
☹️ *Promosm*
@RK-info2023
@RK-info2023 9 месяцев назад
sound konchem takkuva ga vastundhi bro....
@bhaveshithape1959
@bhaveshithape1959 9 месяцев назад
I'll try to do it louder
@RK-info2023
@RK-info2023 9 месяцев назад
@@bhaveshithape1959 ok are you from ap or ts
@Dorddis
@Dorddis 9 месяцев назад
Nice explanation
@hasnainaijaz6521
@hasnainaijaz6521 11 месяцев назад
great work
@prakashmishra5885
@prakashmishra5885 Год назад
a me +100 aur b + 1 me -100 kr to de....par kyu kare ye koi bta h ni rha...ye to btao bhai k breakpoint create ho rha
@centipedebeats8689
@centipedebeats8689 Год назад
Yeh muhje bhi samajna hai 😢
@animeshtyagi
@animeshtyagi Год назад
Hard level question made easy.
@gurleensahota9650
@gurleensahota9650 Год назад
thank u very well explained, please solve more!!
@arshadaafaqd8636
@arshadaafaqd8636 Год назад
You just earned a subscriber, I think you are not using proper keywords thats why your video are not gettin getting recognized.
@bhuppidhamii
@bhuppidhamii Год назад
i forgot .equals()
@pandeyamit8777
@pandeyamit8777 Год назад
bhoth slow voice hai
@vanraj8169
@vanraj8169 Год назад
This isn't an efficient approach Instead you would have done it with swapping
@ayushnagar7054
@ayushnagar7054 Год назад
Moj krdi 🔥
@vidhiagarwal9370
@vidhiagarwal9370 2 года назад
It still says time limit exceeded
@pranavnyavanandi9710
@pranavnyavanandi9710 2 года назад
All clear.
@kikotech5534
@kikotech5534 2 года назад
Make more videos. Remove background sounds
@erraboinakoushik360
@erraboinakoushik360 Год назад
ok
@kikotech5534
@kikotech5534 2 года назад
Good explanation
@kalpeshsinhchauhan3586
@kalpeshsinhchauhan3586 2 года назад
wahh bhai jordar
@vinaygowda4586
@vinaygowda4586 2 года назад
u seriously explained so well!! great learning and teaching skills ..please solve more problems ,so that it could help us ... videos take time to get popularized..but dont stop to teach ...all the best
@junaidahmed4942
@junaidahmed4942 2 года назад
Jis ko ap k smj aya gy us ko automatically smj any chaxie ap tho faldo hain
@anujagrawal506
@anujagrawal506 2 года назад
it is showing arithmetic exception at line no. 40
@heroines2562
@heroines2562 2 года назад
thik hai..
@raj006
@raj006 2 года назад
list se kaise kre
@vidarbhbhatia2043
@vidarbhbhatia2043 2 года назад
In line 14, just replace the loop with a loop like: for(ArrayList<Integer> query : queries) { int a=query.get(0); int b=query.get(1); int k=query.get(2); .................................................. .................................................. } //Rest code will be same
@gleanfact8318
@gleanfact8318 2 года назад
*I only find difficulty to understand question's* After Understanding Solution is not that difficult
@nypd54321
@nypd54321 2 года назад
maja aagya bhia please upload more video
@AbhishekKumar-sr4gc
@AbhishekKumar-sr4gc 2 года назад
bhai arraylist use kr k kese krna hai ye question pls bta do bhai..........ya to code hi likh k comment setion mai paste krdo arraylist use kr ke
@bhuppidhamii
@bhuppidhamii Год назад
ArrayList <Integer> temp=new ArrayList<>(); int ql=queries.size(); int sl=stringList.size(); for(int i=0;i<ql;i++){ int count=0; for(int j=0;j<sl;j++){ if(queries.get(i).equals(stringList.get(j))){ count++; } } temp.add(count); } return temp;
@adnankhan9403
@adnankhan9403 2 года назад
good explanation brother!
@nuclergaming9969
@nuclergaming9969 2 года назад
Bro can u explain arr[N-i-1] last element kaise?
@techbgl2816
@techbgl2816 2 года назад
bhai N=a.length; i=0(in first itterarion) array element are 5 so, 5-0-1=4 and 4th index of array is last element.
@shashankpandey374
@shashankpandey374 2 года назад
thoda jor se bol bhai
@bhaveshithape1959
@bhaveshithape1959 2 года назад
I'll try bhai
@fanaticbark4856
@fanaticbark4856 3 года назад
Very Well Explained
@bhaveshithape1959
@bhaveshithape1959 2 года назад
Thank you so much 🙂
@AmanSharma-tn3dy
@AmanSharma-tn3dy 3 года назад
thanks bro i am not able to understand the question you explained it very nicely.
@bhaveshithape1959
@bhaveshithape1959 2 года назад
Glad to hear that
@funomgamers4458
@funomgamers4458 3 года назад
Bhai apne scanner class kaise lae type kie? Default mein bufferreader hota hai na editorial mein
@bhaveshithape1959
@bhaveshithape1959 3 года назад
Bhai vo prewritten hi tha.
@eissafaheem6062
@eissafaheem6062 3 года назад
Great Explanation....please always explain logic on notebook zyada samajh aata h...bhoot videos dekhi.. yahin pr acche se samajh aaya. Subscriber++😊
@bhavesh7905
@bhavesh7905 3 года назад
Thank you bhai
@imSagarMalhotra
@imSagarMalhotra 3 года назад
Thanks for your kind help in community's growth.
@bhaveshithape1959
@bhaveshithape1959 3 года назад
My pleasure!
@ushnakhan198
@ushnakhan198 3 года назад
Thank you for this
@bhaveshithape1959
@bhaveshithape1959 3 года назад
My pleasure!
@just.indianstuff7537
@just.indianstuff7537 3 года назад
Bro I have one doubt can snd pic of that on insta
@bhavesh7905
@bhavesh7905 3 года назад
sure @bhaveshithape