Lecture 23: Introduction to 2D Arrays in C++ || LeetCode Questions

Опубликовано: 09 Октябрь 2024
на канале: CodeHelp - by Babbar
617,937
10k

In this Video, we are going to learn about 2D Arrays and solve the following questions:
- Row-wise Input/Column wise input
- Linear Search over 2D arrays
- Row-wise Sum/Column wise Sum
- Largest Row sum
- Wave Print
- Spiral Print
- Rotate a Matrix by 90 degrees
- Search in a 2D Matrix I LeetCode
- Search in a 2D Matrix II LeetCode

There is a lot to learn, Keep in mind “ Mnn boot karega k chor yrr apne se nahi yoga ya maza nahi para, Just ask 1 question “ Why I started ? “

Visit Relevel: https://relvl.co/prwb

Stack Overflow Link: https://stackoverflow.com/questions/1...

Discord Server Link:   / discord  

Course Flow: https://whimsical.com/dsa-4-placement...

Homework: timestamps added below

Notes Link: https://drive.google.com/file/d/1Vng3...

Code Links: https://github.com/loveBabbar/CodeHel...

Question Links:
- Wave Print: https://bit.ly/329Le3K
- Spiral Print: https://leetcode.com/problems/spiral-...
- Rotate a Matrix by 90 degrees: https://leetcode.com/problems/rotate-...
- Search in a 2D Matrix I LeetCode: https://leetcode.com/problems/search-...
- Search in a 2D Matrix II LeetCode: https://leetcode.com/problems/search-...


Do provide you feedback in the comments, we are going to make it best collectively.

Telegram Group Link: Love Babbar CODE HELP
https://telegram.me/lovebabbercodehelp

Connect with me here:

Instagram:   / lovebabbar1  
Twitter:   / lovebabbar3  


My Editor:   / rishu.rsingh  

Intro Sequence: We have bought all the required Licenses of the Audio, Video & Animation used.

Timestamps:

00:00 - Introduction
00:50 - Why we need 2-D Arrays ?
03:03 - How 2D stored in memory ?
04:22 - Promotion
05:26 - How 2D stored in memory ?
07:47 - Creating an 2D Array
09:51 - taking input in 2D Array
10:42 - Output in 2D Arrays
12:44 - Coding - Creating, Input & Output 2D Array
14:44 - Row-wise Input ion 2D Arrays
15:12 - Column-wise input in 2D Arrays
18:25 - Initialising 2D Arrays
20:45 - Linear Search in 2D Arrays
25:15 - Row-wise Sum Problem
32:22 - Largest Row Sum Problem
37:24 - Wave Print Problem
39:00 - Approach
41:00 - Code
45:22 - Time Complexity of Solution
46:20 - Spiral Print Problem
47:33 - Approach
50:45 - Code
59:17 - Time Complexity of Solution
01:00:35 - Homework
01:01:44 - Binary Search on 2D Arrays
01:02:44 - Search a 2D Matrix LeetCode Level1 Problem
01:03:55 - Approach
01:07:08 - Code
01:16:45 - Time Complexity of Solution
01:17:30 - Search a 2D Matrix LeetCode Level2 Problem
01:18:17 - Approach
01:23:29 - Code
01:28:10 - How to approach a problem ?


#DSABusted #LoveBabbar