Parottasalna Course Notes

📝 Parottasalna Blog

248 practical articles on backend engineering, system design, databases, Docker, Python, AI and DSA, explained simply.

17 articles in Algorithm · Clear filters

Algorithm

POTD #5 - Set Matrix Zeroes | Geeks For Geeks

Problem Statement Geeks For Geeks : https://www.geeksforgeeks.org/problems/set-matrix-zeroes/1 You are given a 2D matrix mat [][] of size n×m . The t…

Dec 25, 2024 · 2 min read
Algorithm

POTD #4 - Search in a sorted Matrix | Geeks For Geeks

Problem Statement Geeks For Geeks – https://www.geeksforgeeks.org/problems/search-in-a-matrix-1587115621/1 Given a strictly sorted 2D matrix mat [][]…

Dec 24, 2024 · 1 min read
Algorithm

POTD #3 Search in a row-wise sorted matrix | Geeks For Geeks

Problem Statement GFG Link – https://www.geeksforgeeks.org/problems/search-in-a-row-wise-sorted-matrix/1 Given a row-wise sorted 2D matrix mat [][] o…

Dec 23, 2024 · 2 min read
Algorithm

POTD #2 Search in a Row-Column sorted matrix | Geeks For Geeks

Second day of POTD Geeks For Geeks. https://www.geeksforgeeks.org/problems/search-in-a-matrix17201720/1 . Given a 2D integer matrix mat [][] of size …

Dec 22, 2024 · 2 min read
Algorithm

Selection Sort

The selection sort algorithm sorts an array by iteratively finding the minimum (for ascending order) / maximum (for descending order) element from th…

Aug 18, 2024 · 6 min read