Data Structures & Algorithms Spiral Matrix | Leetcode 54 | Explained in Python3 Mins Read LeetCode “Spiral Matrix” (#54) asks you to return all the elements of an m × n matrix in clock-wise spiral…
Data Structures & Algorithms Rotate Image | Leetcode 48 | Explained with Images4 Mins Read LeetCode “Rotate Image” (#48) asks you to rotate an n × n square matrix 90° clockwise in-place (i.e., without returning…
Data Structures & Algorithms Set Matrix Zeroes | Leetcode 73 | Explained7 Mins Read If you’re preparing for coding interviews, the “Set Matrix Zeroes” problem is a must-know! In this blog, we’ll explain the…