Class Central is learner-supported. When you buy through links on our site, we may earn an affiliate commission.

YouTube

Introduction to 2D Arrays in C++ - LeetCode Questions

CodeHelp - by Babbar via YouTube

Overview

Save Big on Coursera Plus. 7,000+ courses at $160 off. Limited Time Only!
Dive into a comprehensive video tutorial on 2D arrays in C++, covering essential concepts and solving LeetCode problems. Learn about array creation, input/output methods, linear search, row and column-wise operations, wave and spiral printing, matrix rotation, and efficient searching techniques. Gain practical coding experience through step-by-step problem-solving, including time complexity analysis and approaches to tackle various 2D array challenges. Enhance your understanding of data structures and algorithms while preparing for technical interviews and coding assessments.

Syllabus

- Introduction
- Why we need 2-D Arrays ?
- How 2D stored in memory ?
- Promotion
- How 2D stored in memory ?
- Creating an 2D Array
- taking input in 2D Array
- Output in 2D Arrays
- Coding - Creating, Input & Output 2D Array
- Row-wise Input ion 2D Arrays
- Column-wise input in 2D Arrays
- Initialising 2D Arrays
- Linear Search in 2D Arrays
- Row-wise Sum Problem
- Largest Row Sum Problem
- Wave Print Problem
- Approach
- Code
- Time Complexity of Solution
- Spiral Print Problem
- Approach
- Code
- Time Complexity of Solution
- Homework
- Binary Search on 2D Arrays
- Search a 2D Matrix LeetCode Level1 Problem
- Approach
- Code
- Time Complexity of Solution
- Search a 2D Matrix LeetCode Level2 Problem
- Approach
- Code
- How to approach a problem ?

Taught by

CodeHelp - by Babbar

Reviews

Start your review of Introduction to 2D Arrays in C++ - LeetCode Questions

Never Stop Learning.

Get personalized course recommendations, track subjects and courses with reminders, and more.

Someone learning on their laptop while sitting on the floor.