Solving 2D Arrays Questions | Make zeroes | GeeksForGeeks | Nishant Chahar Ep-19

แชร์
ฝัง
  • เผยแพร่เมื่อ 6 ต.ค. 2024

ความคิดเห็น • 52

  • @karanjot_singh
    @karanjot_singh 2 ปีที่แล้ว +6

    today's notes
    Problem:- Given a matrix of size n x m. Your task is to make Zeroes, that means in whole matrix when you find a zero, convert its upper, lower, left, and right value to zero and make that element the sum of the upper, lower, left and right value.
    Approach:-
    1. First, make a copy of current matrix an let's call it temp.
    2. Now check if any element in temp is equal to zero.
    3. Check up,right, left, down to see if (y-1>=0), (x+1=0), (y+1

  • @gouravnainwaya5669
    @gouravnainwaya5669 2 ปีที่แล้ว +1

    Bhai woh loop ke sath length property kaise kaam karti hain c main size or n -1 karne pe woh high pointer last pe kaise pahoch gaya woh toh last se 2 pe point hoga na ?

  • @saitama5548
    @saitama5548 2 ปีที่แล้ว

    Why did you take i+n=0?

  • @rishabhprasad4744
    @rishabhprasad4744 ปีที่แล้ว

    for(int i = 0; i < matrix.length; i++)
    temp[i] = matrix[i].clone();
    int[][] temp =matrix is wrong as this will not copy matrix in temp ..neither two nested loop....instead you clone it copy's row wise
    copyedmat[row]=realmat[row].clone();

  • @HarshRaj-kp7gk
    @HarshRaj-kp7gk 2 ปีที่แล้ว +1

    Bhaiya bahut maza aa rha hai please sare variety ke questions cover kigiye ga array topic ka

  • @apoorvadubey2993
    @apoorvadubey2993 2 ปีที่แล้ว +1

    Learning something new everyday too good content bhaiya.

  • @vikasbagri1225
    @vikasbagri1225 2 ปีที่แล้ว

    I have also used the same approach
    Grateful to your efforts and keep doing this...

  • @ankit_6378
    @ankit_6378 2 ปีที่แล้ว +1

    I am learning new concepts from every video, no matter what the topic is. Thanks a lot ❤❤
    #CodeIn10

  • @oNago555
    @oNago555 2 ปีที่แล้ว

    I am learning new concepts from every video, thank you bhai

  • @abhishekkathiriya79
    @abhishekkathiriya79 2 ปีที่แล้ว

    Nichant bhaiya 💗
    Matrix question and 2D array question is amazing 👏 🙌
    Keep learning 💯
    Keep going 💯
    Thanks 😊

  • @srashtifarkya4940
    @srashtifarkya4940 2 ปีที่แล้ว +1

    Great Explanation Bhaiya 👍🔥🔥💓💓

  • @rohitojha5552
    @rohitojha5552 2 ปีที่แล้ว +1

    Bhaiya hatsoff to your consistency.... You're putting so much of efforts to provide us a great DSA course while you have your personal life and office also but you're daily upload a video thanks bhaiya....❤️✨

  • @shivdixit2587
    @shivdixit2587 2 ปีที่แล้ว

    Week -7
    Enjoying everyday and also improvement in knowledge day by day really with coding I have learnt consistency from you.😊
    Thanks bhaiya😎😀
    Shiv

  • @mdrashid3367
    @mdrashid3367 2 ปีที่แล้ว +1

    Thank you very much bhaiya 💗

  • @rajatarora8058
    @rajatarora8058 2 ปีที่แล้ว

    Day 44 - got the insights on matrix question. Growing together ❤️. #codein10❤️ #cosistency

  • @nakulpise618
    @nakulpise618 2 ปีที่แล้ว +1

    Week 7done ✅✅

  • @positiveattitude9506
    @positiveattitude9506 2 ปีที่แล้ว +1

    day 44 completed successfully thankyou Nishant bhaiya for your support ❤️ #nishantchahar ❤

  • @vishalshrivastav1710
    @vishalshrivastav1710 2 ปีที่แล้ว +1

    Thanks for the Video Bhaiya................ :)

  • @Starwork09
    @Starwork09 2 ปีที่แล้ว

    Nishant Bhia ek Question tha ...... Practice Question kaha se kara.

  • @kaustavpurkayastha
    @kaustavpurkayastha 2 ปีที่แล้ว

    Good one sir

  • @gautamjangir8927
    @gautamjangir8927 2 ปีที่แล้ว

    Great Explanation Bhaiya

  • @shuvrodas5155
    @shuvrodas5155 2 ปีที่แล้ว

    I am getting improved just because of your consistency 🙃💕thanq for working so hard for us🎉

  • @Unknown-ng8me
    @Unknown-ng8me 2 ปีที่แล้ว

    @Nishant Chahar can you please use dark mode while teaching it's really helps

  • @yashdeepsingh785
    @yashdeepsingh785 2 ปีที่แล้ว

    44 Days Completed and Continuity maintained 👍

  • @HarshSharma-ib8ft
    @HarshSharma-ib8ft 2 ปีที่แล้ว

    Day 44
    Make Zeroes
    I appreciate you for taking up new topics like this. It was explained very well by you. You are doing a brilliant job so far managing this channel. You produce good content that reflects your knowledge. For the past 44 days, I have viewed your videos every day. You work very hard and with great enthusiasm to achieve perfection in everything you do. For 44 days, you have consistently uploaded videos. Hats off to your perseverance and consistency. I am hoping to meet you and getting to know you better. If I have the opportunity to meet you, it will be the biggest event of my life. As I am going to run across the most knowledgeable person, who inspired me a lot. Thank you so much for all of your support. You are my role model, and I deeply respect you. You are the best, Nishant Bhaiya!

  • @pooja2254
    @pooja2254 2 ปีที่แล้ว

    Well done

  • @deepak__1
    @deepak__1 2 ปีที่แล้ว

    thanks for today

  • @yashikagarg4044
    @yashikagarg4044 2 ปีที่แล้ว

    Learning and growth📈🌟🌟

  • @iam_niraj
    @iam_niraj 2 ปีที่แล้ว

    Thanks Bhaiya

  • @KuldeepSingh-yy7qq
    @KuldeepSingh-yy7qq 2 ปีที่แล้ว

    Thank again 😊

  • @mansidhumal3840
    @mansidhumal3840 2 ปีที่แล้ว

    Great work , keep it up 👍🏻💯

  • @siddhant3439
    @siddhant3439 2 ปีที่แล้ว

    Take leetcode question also

  • @deeppatel7657
    @deeppatel7657 2 ปีที่แล้ว

    Day 45-completed
    Consistency 📈📈📈
    Maze hee agaye

  • @sumitkanth5349
    @sumitkanth5349 2 ปีที่แล้ว

    Day 44 - thanks for this 10min videos bhaiya :) but aap rest bhi le lia kro ;)

  • @741ibrahim2
    @741ibrahim2 2 ปีที่แล้ว

    Consistency *100

  • @jitendersingh9473
    @jitendersingh9473 2 ปีที่แล้ว

    Done

  • @lethalleet
    @lethalleet 2 ปีที่แล้ว

    Day 44 done

  • @vaibhavigvp
    @vaibhavigvp 2 ปีที่แล้ว

    Thank you bhaiya for the day❤✌

  • @zeeshan1019
    @zeeshan1019 2 ปีที่แล้ว

    Aacha vector use krne k liye class bnana pdta h kya?

    • @Curious.chahar
      @Curious.chahar  ปีที่แล้ว +1

      Use karna ke liye nahi banana padta inbuilt hota hai vector, but seekhte time haan

  • @abhayrajkashyap2283
    @abhayrajkashyap2283 2 ปีที่แล้ว

    Osmmm bhaiya 😍 ji

  • @harikeshyadav4814
    @harikeshyadav4814 2 ปีที่แล้ว

    Day 44 done ✅

  • @sounak4067
    @sounak4067 2 ปีที่แล้ว

    Day 44 done bhaiyya

  • @akshatsingh433
    @akshatsingh433 2 ปีที่แล้ว

    👍

  • @utkarshdubey3711
    @utkarshdubey3711 2 ปีที่แล้ว

    Bro thoda sa bounce ho gya .........vo sum kyu kiya and copy kyu banai new

  • @mdtouseeb264
    @mdtouseeb264 2 ปีที่แล้ว

    Day 44🔥😎
    Thanx bhai❤️💯

  • @gauravparasar4571
    @gauravparasar4571 2 ปีที่แล้ว

    samjh n ara yrr

  • @avishkumar6281
    @avishkumar6281 2 ปีที่แล้ว

    bro 🔥🔥

  • @manemanoj3068
    @manemanoj3068 2 ปีที่แล้ว

    Zero zero zero🤣

  • @jaimieholiday6255
    @jaimieholiday6255 2 ปีที่แล้ว

    p̶r̶o̶m̶o̶s̶m̶ 😒

  • @preetkatiyar969
    @preetkatiyar969 2 ปีที่แล้ว

    bhaiay videos are really really help full . bhaiya hair topic ke 10 easy 10 medium 10 hard aisa karskte hai kya
    preetkatiyar999

  • @ShitanjaliKasera
    @ShitanjaliKasera 2 ปีที่แล้ว

    Great work , keep it up 👍🏻💯