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

Google, IBM & Meta Certificates – 40% Off
One Coursera Plus subscription covers most Professional Certificates on Coursera.
Unlock All Certificates
This course introduces two-dimensional arrays in C++, covering memory layout, creation, input/output, initialization, traversal, sums, wave and spiral printing, rotation, and matrix search problems from LeetCode.

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.