Summary
Keywords
Full Transcript
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/12813494/why-do-we-need-to-specify-the-column-size-when-passing-a-2d-array-as-a-parameter Discord Server Link: https://discord.gg/feSQvVXMrd Course Flow: https://whimsical.com/dsa-4-placement-by-love-babbar-C7JX2fJ8hprv9ivEHkArjD@2Ux7TurymNF9zkFahVLk Homework: timestamps added below Notes Link: https://drive.google.com/file/d/1Vng3rgVFFnl0a5UbUhUO8YgxfClbcrgm/view?usp=sharing Code Links: https://github.com/loveBabbar/CodeHelp-DSA-Busted-Series Question Links: - Wave Print: https://bit.ly/329Le3K - Spiral Print: https://leetcode.com/problems/spiral-matrix/ - Rotate a Matrix by 90 degrees: https://leetcode.com/problems/rotate-image/ - Search in a 2D Matrix I LeetCode: https://leetcode.com/problems/search-a-2d-matrix/ - Search in a 2D Matrix II LeetCode: https://leetcode.com/problems/search-a-2d-matrix-ii/ 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: https://www.instagram.com/lovebabbar1/ Twitter: https://twitter.com/lovebabbar3 My Editor: https://www.instagram.com/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
