Solving 2D Array Questions | Spirally traversing a matrix | GeeksForGeeks | Nishant Chahar Ep-21

  Рет қаралды 25,123

Curious Chahar

Curious Chahar

Күн бұрын

In this video, we'll are going to solve a 2d array question. We have already solved many questions on the array, so do check out the previous videos in the playlist if you haven't watched them yet.
Problem link: practice.geeks...
Previous lecture: • Solving 2D Array Quest...
You can use my code NISHANT to get 15% Off on all GFG courses.
✨ Important Links ✨
- Don't Click Here: bit.ly/3afmPha
- Telegram Link: t.me/codeIn10b...
- Github Repo Link: github.com/cha...
✨ Hashtags ✨
#NishantChahar #Microsoft #DSA #Recursion #FAANG #NSIT #NSUT #engineering #internship #college
✨tags ✨
Where to learn dp
where to learn graphs
where to learn dsa
how to start programming
how to start coding
where to learn trees
what is memoisation
what is tabulation
what are graphs
where to learn Operating systems
where to learn dbms
where to learn oops
where to learn computer networks
where to learn low level design
where to learn cs fundamentals
Sanchit jain
Gaurav sen
Gate smashers
Placement guide
How to start programming
where to learn cpp
where to learn python
where to learn javascript
where to learn java
Placement guide
Nishant Chahar Placement Guide
languages to learn
resources to learn data structures
Projects development
AR/VR
Blockchain Machine learning
Deep Learning
Software developer engineer ,
Side projects ,
Importance of side projects ,
Machine Learning Engineer,
How to become a machine learning engineer ,
Associate engineer
Data structures Algorithms
College Life, College, Memories
Fun Fests Chill Enjoy
IITD Mood indigo rendezvous IIT
NSUT Moksha DTU Engifest
Bits Bitsgoa
Namaste Javascript
Namaste Javascript Akshay Saini
Apna college
Apna college c++
apna college DSA
Where to learn dp
where to learn graphs
where to learn dsa
how to start programming
how to start coding
where to learn trees
what is memoisation
what is tabulation
what are graphs
where to learn programming
how to start coding
where to learn coding
where to learn DSA
resources to learn programming
how to crack amazon
how to crack placement
blockchain
what is blockchain
blockchain technology
blockchain technology explained
blockchain explained
blockchain technology in hindi
web development roadmap
roadmap to learn web development
android development roadmap
MERN stack roadmap
machine learning roadmap
roadmap to learn machine learning
roadmap for deep learning
roadmap for 2nd years
roadmap for opensource
roadmap for ios development
roadmap for deep learning
roadmap to learn DSA

Пікірлер: 62
@tecg80
@tecg80 Ай бұрын
Doubts of everyone why -1 Bro java me zero base indexing hoti hai So total number of column agar 10 hoga to java me zero Se count hoga yani 0 to 9 = 10 So last index will be 9 That's why it's total column number -1 because jab hum column number dete hai to to 1 base indexing pe hota hai lekin java me zero se suru hota hai
@karanjot_singh
@karanjot_singh 2 жыл бұрын
Today Notes Problem:- Spirally Traversing a Matrix Approach:- Take 4 variables left, right,top and bottom. Initial values of the 4 are 0, n-1, 0 and m-1 respectively. Remember we move in 4 steps 1. Left -> Right. top++ 2. Top -> Bottom. (right--) 3. Right -> Left. (bottom--) 4. Bottom -> Top. left++ We will continue this while bottom>=top and left
@harshgarg2146
@harshgarg2146 Жыл бұрын
Bhaiya code gfg pr kr rha hu pr error aa rhi hai bta do plz
@manemanoj3068
@manemanoj3068 2 жыл бұрын
Concept Clear Ho gaya Bhai... ✔️
@HeyyHarsh
@HeyyHarsh 18 күн бұрын
1 mahina hua C language shuru hue aur clg walo ne ye Question lab me puch liya
@pwian2362
@pwian2362 4 ай бұрын
right mein n-1 and left mein m-1 kaise hua??
@tecg80
@tecg80 Ай бұрын
Bro java me zero base indexing hoti hai So total number of column agar 10 hoga to java me zero Se count hoga yani 0 to 9 = 10 So last index will be 9 That's why it's total column number -1 because jab hum column number dete hai to to 1 base indexing pe hota hai lekin java me zero se suru hota hai
@literallyme893
@literallyme893 4 ай бұрын
ye if condition samjh nhi aayi kis testcase mai top
@yashdeepsingh785
@yashdeepsingh785 2 жыл бұрын
46 Days completed and will keep on going like this... Maintaining Continuity.
@vikasbagri1225
@vikasbagri1225 2 жыл бұрын
Although I have watched the whole video But to be very honest I have neither solved it on my notebook nor on GFG portal as I am very exhausted today Tomorrow I will do it for sure
@virtualgaming1664
@virtualgaming1664 Жыл бұрын
Aapne 8:54 par video double bar start kar diya hai
@indreshdwivedi9674
@indreshdwivedi9674 11 ай бұрын
bhai pda rhe ho to background music kyu on kr rakha h
@vishalshrivastav1710
@vishalshrivastav1710 2 жыл бұрын
Thanks For the Video Bhaiya........ :)
@HarshSharma-ib8ft
@HarshSharma-ib8ft 2 жыл бұрын
Day 46 Spirally Traversing A Matrix Watching your videos and learning something new every day is extremely interesting. It's simple to understand and you clearly explain everything. We can all learn so much more because of you. Your extensive knowledge is very beneficial when you are teaching. Congratulations for 170 K subscribers on the main channel. You are also doing excellent work there. I have always genuinely admired your expertise. Since the beginning, I have truly valued your knowledge and work. I am learning so much and your assistance means a lot to me. You devote a lot of time, effort, and passion to everything you accomplish. It would be the greatest day of my life if I had the opportunity to meet you. I would like to meet you soon and spend some precious time with you. You are my role model and I admire you a lot. You are the best, Nishant Bhaiya!
@ankit_6378
@ankit_6378 2 жыл бұрын
Thanks a lot bhaiya for this regular content. #CodeIn10 ❤❤
@a-classzone1998
@a-classzone1998 Жыл бұрын
why he is checking before the the last two for loops that if (top
@aggarwalsachin4854
@aggarwalsachin4854 Жыл бұрын
a small advice- please try to remove bgm , it sometimes results in distraction....
@mansidhumal3840
@mansidhumal3840 2 жыл бұрын
Exciting journey 💯 nice video 👍🏻✅
@ankitbhosale2445
@ankitbhosale2445 2 жыл бұрын
0.08 Goldman Sachs: we lost a diamond like Nishant
@shahimayank10
@shahimayank10 Жыл бұрын
Please help in solving the leadcode question of finding peak element 🙏🙏
@nakulpise618
@nakulpise618 2 жыл бұрын
Array done ✅
@emtiazahmed5333
@emtiazahmed5333 2 жыл бұрын
Array khatam ho giya keya?
@nakulpise618
@nakulpise618 2 жыл бұрын
@@emtiazahmed5333 nhi re
@emtiazahmed5333
@emtiazahmed5333 2 жыл бұрын
@@nakulpise618 or kitney re?😔💔 me tried ho giya...😭
@nakulpise618
@nakulpise618 2 жыл бұрын
@@emtiazahmed5333 koi na love to code you will automatically get intrested in that❤❤❤❤
@beingpk01
@beingpk01 2 жыл бұрын
I am able to understand but unable to code without seeing yours code . What to do for this
@ShitanjaliKasera
@ShitanjaliKasera 2 жыл бұрын
46 Days completed and will keep on going like this... Maintaining Continuity.
@jeetudewangan9836
@jeetudewangan9836 2 жыл бұрын
Bhai remove background music
@abhishekkathiriya79
@abhishekkathiriya79 2 жыл бұрын
Nichant bhaiya 💗 Video was good 👍 👌 Keep learning 💯 Keep going 💯 Thanks 😊
@MdRaza-ef3jj
@MdRaza-ef3jj 2 жыл бұрын
Ek number question solution bhaiyaa💥💥💥
@prakashjha6388
@prakashjha6388 2 жыл бұрын
Thanks 😊👍
@emtiazahmed5333
@emtiazahmed5333 2 жыл бұрын
First comment vaiya🥰🥰!!...
@mdrashid3367
@mdrashid3367 2 жыл бұрын
Feel awesome jb mai code in 10 pe learning krta hun toh thank you very much bhaiya 💗💖
@gouravnainwaya5669
@gouravnainwaya5669 2 жыл бұрын
Bhai homework dena bhi shuru karo kuch aap karana kuch hum karnenge 😍
@sahilgarg4227
@sahilgarg4227 2 жыл бұрын
Bhai java mai bhi padha Diya Karo .... agar ho sake toh...
@sounak4067
@sounak4067 2 жыл бұрын
46 day completed bhaiiya
@avishkumar6281
@avishkumar6281 2 жыл бұрын
day 46 and present
@deeppatel7657
@deeppatel7657 2 жыл бұрын
Day 46 Ab toh adaat lag gai hai coding ki
@mdtouseeb264
@mdtouseeb264 2 жыл бұрын
Day 46 🔥😎 Thanx bhai💯❤️
@zohad.jafri96
@zohad.jafri96 2 жыл бұрын
Day 46 ✅ Gmail - zohadjafri670 Thanks a lot bhaiya ❤️
@shivdixit2587
@shivdixit2587 2 жыл бұрын
Bhau you are not only teaching us coding but also how to manage our time and be consistent. Your explanation power is awesome Really enjoying Week-7 Thanks bhaiya😁😀 Shiv
@harikeshyadav4814
@harikeshyadav4814 2 жыл бұрын
Day 46 done ✅
@pooja2254
@pooja2254 2 жыл бұрын
Nice video
@apoorvadubey2993
@apoorvadubey2993 2 жыл бұрын
Very beneficial videos.
@akshatsingh433
@akshatsingh433 2 жыл бұрын
👍
@kaustavpurkayastha
@kaustavpurkayastha 2 жыл бұрын
Accha hei sir 🔥
@TravelTracksByDebo
@TravelTracksByDebo 2 жыл бұрын
wonderful explanation
@abhayrajkashyap2283
@abhayrajkashyap2283 2 жыл бұрын
Osm😍
@positiveattitude9506
@positiveattitude9506 2 жыл бұрын
Present here day 46 completed successfully thankyou Nishant bhaiya for your support this type of consistency is not easy #nishantchahar
@beingpk01
@beingpk01 2 жыл бұрын
I am able to understand but unable to code without seeing yours code . What to do for this.
@srashtifarkya4940
@srashtifarkya4940 2 жыл бұрын
Great Bhaiya 👍 🔥🔥💓💓
@shivamyadav3476
@shivamyadav3476 2 жыл бұрын
Bhai maine 12th me PCB liya tha , lekin maine MHT-CET me software engineering karne ke liye PCMB liya hai, to kya mera engineering ka jo naya rule aya tha ke engineering ke liye maths important nahi hai, to kya isse mera best government engineering college me admission hoga kya software engineering me, please reply dena
@sumitkanth5349
@sumitkanth5349 2 жыл бұрын
Day 46 thanks for these info bhaiya :)
@meetkathiriya4056
@meetkathiriya4056 2 жыл бұрын
Hello bhai multinational company me 12th ke mark criteria hota hee ?
@vaibhavigvp
@vaibhavigvp 2 жыл бұрын
Thank you bhaiya for the day❤🙌✌
@shuvrodas5155
@shuvrodas5155 2 жыл бұрын
Feel good to be a part of grt channel 💕😍
@yashikagarg4044
@yashikagarg4044 2 жыл бұрын
Amazing explanation ❤️
@jitendersingh9473
@jitendersingh9473 2 жыл бұрын
Nice explanation ❤
@meetkathiriya4056
@meetkathiriya4056 2 жыл бұрын
Hello bhai CGP ;80 he or 10th me or 12th ma 60% he to Microsoft me apply kar shkte he ? Please reply
Spiral Traversal of a Matrix | Spiral Matrix
16:33
take U forward
Рет қаралды 216 М.
How To Get Married:   #short
00:22
Jin and Hattie
Рет қаралды 23 МЛН
Amazing Parenting Hacks! 👶✨ #ParentingTips #LifeHacks
00:18
Snack Chat
Рет қаралды 23 МЛН
إخفاء الطعام سرًا تحت الطاولة للتناول لاحقًا 😏🍽️
00:28
حرف إبداعية للمنزل في 5 دقائق
Рет қаралды 32 МЛН
Trick for spiral matrix traversal
10:12
Techdose
Рет қаралды 206 М.
Spiral Matrix - Microsoft Interview Question - Leetcode 54
16:46
How To Get Married:   #short
00:22
Jin and Hattie
Рет қаралды 23 МЛН