Sort the Matrix Diagonally - (MICROSOFT) : Explanation βž• Live Coding πŸ§‘πŸ»β€πŸ’»πŸ‘©πŸ»β€πŸ’»

Subscribers:
92,300
Published on ● Video Link: https://www.youtube.com/watch?v=mNWwJQ7_z4Q



Duration: 24:02
261 views
24


In this video we will try to solve a very good Qn β€œSort the Matrix Diagonally”.
It has been asked in Microsoft and we will see a very generalised and tricky approach to solve this Qn.

Note that this technique will help you to solve another leetcode Qn : Leetcode-498 (Diagonal Traverse)

We will do live coding after explanation and see if we are able to pass all the test cases.

Problem Name : Sort the Matrix Diagonally

Company Tags : MICROSOFT

Leetcode Link : https://leetcode.com/problems/sort-the-matrix-diagonally/
Similar GfG Qn : https://practice.geeksforgeeks.org/problems/diagonal-morning-assembly0028/1#
My solutions on Github : https://github.com/MAZHARMIK/Interview_DS_Algo/blob/master/Arrays/2-D%20Array/Sort%20the%20Matrix%20Diagonally.cpp

Another Leetcode Qn Like this : Leetcode-498 (Diagonal Traverse) : https://leetcode.com/problems/diagonal-traverse/


My GitHub Repo for interview preparation : https://github.com/MAZHARMIK/Interview_DS_Algo
Subscribe to my channel : https://www.youtube.com/channel/UCaw58edcO3ZqMw76Bvs0kGQ



╔═╦╗╔╦╗╔═╦═╦╦╦╦╗╔═╗
β•‘β•šβ•£β•‘β•‘β•‘β•šβ•£β•šβ•£β•”β•£β•”β•£β•‘β•šβ•£β•β•£
β• β•—β•‘β•šβ•β•‘β•‘β• β•—β•‘β•šβ•£β•‘β•‘β•‘β•‘β•‘β•β•£
β•šβ•β•©β•β•β•©β•β•©β•β•©β•β•©β•β•šβ•©β•β•©β•β•

#coding #helpajobseeker #easyrecipes
#interviewpreparation #interview_ds_algo #hinglish




Other Videos By codestorywithMIK


2022-09-14Boats to Save People - (Google) : Greedy Explanation βž• Live Coding πŸ§‘πŸ»β€πŸ’»πŸ‘©πŸ»β€πŸ’»
2022-09-12Bag of Tokens - (Google) : Greedy Explanation βž• Live Coding πŸ§‘πŸ»β€πŸ’»πŸ‘©πŸ»β€πŸ’»
2022-09-11Design A URL Shortener (Part-VI): STEP-3 : DESIGN DEEP DIVE (DATA MODEL) !!! πŸ—βš™οΈπŸ‘·
2022-09-10Minimum Size Subarray Sum-(Google, Accolite, Amazon..):Explanation βž• Live Coding πŸ§‘πŸ»β€πŸ’»πŸ‘©πŸ»β€πŸ’»
2022-09-05Design A URL Shortener (Part-V): STEP-2 : URL SHORTENING (HASH FUNCTION) !!! πŸ—βš™οΈπŸ‘·
2022-09-04Sort Colors- (Adobe, Amazon, Flipkart.....) : Explanation βž• Live Coding πŸ§‘πŸ»β€πŸ’»πŸ‘©πŸ»β€πŸ’»
2022-09-02Search in Rotated Sorted Array-(Google, Amazon, Microsoft....🀩):Live Coding πŸ§‘πŸ»β€πŸ’»πŸ‘©πŸ»β€πŸ’»
2022-09-01Design A URL Shortener (Part-IV): STEP-2 : 301 Redirect Vs 302 Redirect Status Code !!! πŸ—βš™οΈπŸ‘·
2022-08-30Design A URL Shortener (Part-III): STEP-2 : Propose High Level Design & Get Buy-In !!! πŸ—βš™οΈπŸ‘·
2022-08-28Diagonal Traverse - (Google, Amazon) : Explanation βž• Live Coding πŸ§‘πŸ»β€πŸ’»πŸ‘©πŸ»β€πŸ’»
2022-08-28Sort the Matrix Diagonally - (MICROSOFT) : Explanation βž• Live Coding πŸ§‘πŸ»β€πŸ’»πŸ‘©πŸ»β€πŸ’»
2022-08-27Design A URL Shortener (Part-II): Back Of The Envelope Estimation !!! πŸ—βš™οΈπŸ‘·
2022-08-26Design A URL Shortener (Part-I): Step-1 (Understand The Problem & Establish Design Scope) !!! πŸ—βš™οΈπŸ‘·
2022-08-25Group Anagrams (without sorting) - (Google,Amazon,Apple.) : Explanation βž• Live Coding πŸ§‘πŸ»β€πŸ’»πŸ‘©πŸ»β€πŸ’»
2022-08-24Group Anagrams (using sorting) - (Google,Amazon,Apple...) : Explanation βž• Live Coding πŸ§‘πŸ»β€πŸ’»πŸ‘©πŸ»β€πŸ’»
2022-08-22Find the Rotation Count in Rotated Sorted array-(Amazon, Flipkart, ABCO):Live Coding πŸ§‘πŸ»β€πŸ’»πŸ‘©πŸ»β€πŸ’»
2022-08-21Find Leaves Of Binary Tree - (Google Onsite-2022, Amazon) : Live Coding πŸ§‘πŸ»β€πŸ’»πŸ‘©πŸ»β€πŸ’»
2022-08-19Design A Unique ID Generator In Distributed Systems (Part-VII): Wrap Up !!! πŸ—πŸ‘·πŸ‘©πŸ»β€πŸ’»
2022-08-17Find All Anagrams in a String-(Amazon, Microsoft, Flipkart):Explanation βž• Live Coding πŸ§‘πŸ»β€πŸ’»πŸ‘©πŸ»β€πŸ’»
2022-08-16Design A Unique ID Generator In Distributed Systems (Part-VI): Design Deep Dive πŸ—πŸ‘·πŸ‘©πŸ»β€πŸ’»
2022-08-15Design A Unique ID Generator In Distributed Systems (Part-V): Twitter Snowflake Approach πŸ—πŸ‘·πŸ‘©πŸ»β€πŸ’»